ThemeShaper Forums » Thematic

[closed]

Conditional logo for home page

(2 posts)
  • Started 10 years ago by chris_s
  • Latest reply from helgatheviking
  • This topic is not resolved

Tags:

  1. I don't want to display the logo on the home page. I'd rather not alter the header.extensions.php file. does anyone have a solution using the is_home() function for functions.php?

    Posted 10 years ago #
  2. you shouldn't edit the header-extensions.php file. that defeats the purpose of the child theme.

    how is the logo added? by default there is a blog title. what about this?

    function remove_title() {
      if(is_home()){
          remove_action('thematic_header','thematic_blogtitle',3);
       }
    }
    add_action('template_redirect','remove_title');

    b/c you need conditionals you can't hook onto the init hook as it is too early and the conditional logic always returns false.

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.