Posted By

scottnix on 10/06/11


Tagged

php blog homepage description thematic


Versions (?)

Thematic Remove Blog Description from Homepage


 / Published in: PHP
 

URL: http://scottnix.com/code/wordpress/thematic-snippets/

Thematic Specific, easy way to get rid of duplicate H1's if a custom front page is used.

  1. // remove blog description from front page
  2. function childtheme_override_blogdescription() {
  3. $blogdesc = '"blog-description">' . get_bloginfo('description');
  4. if (is_front_page()) {
  5. // silence
  6. } else {
  7. echo "\t\t<div id=$blogdesc</div>\n\n";
  8. }
  9. }

Report this snippet  

You need to login to post a comment.