Skip to content

Instantly share code, notes, and snippets.

@anant1811
Created August 1, 2016 14:39
Show Gist options
  • Save anant1811/cfdc1b9a7490fd4547084dceab6912d1 to your computer and use it in GitHub Desktop.
Save anant1811/cfdc1b9a7490fd4547084dceab6912d1 to your computer and use it in GitHub Desktop.
Genesis hook with conditional for front page
<?php
if ( ( is_front_page() ) )
{ ?>
<h2 class="seo-description">Hi there! I'm Ashish Anant - a WordPress and Genesis developer, web designer and consultant from India. Know <a href="/about/">more about me</a>, see <a href="/work">my work</a> and <a href="/project-planner/">contact me here</a>.</h2>
<?php }
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment