ThemeShaper Forums » Thematic

can't get rid of the thematic_blogdescription action...

(5 posts)
  • Started 9 years ago by patpro
  • Latest reply from patpro
  • This topic is resolved
  1. Hi all,

    I want to customize the header part of the thematic theme, using a child theme. Especially, I want to get rid of the thematic_blogdescription action:

    in my wp-content/themes/MYCHILDTHEME/functions.php I've added this:

    function remove_thematic_actions() {
     remove_action('thematic_header','thematic_brandingopen',1);
     remove_action('thematic_navigation_above', 'thematic_nav_above', 2);
     remove_action('thematic_blogdescription','thematic_blogtitle',5);
     remove_action('thematic_header','thematic_access',9);
    }
    add_action('init','remove_thematic_actions');

    - thematic_brandingopen is properly "removed", and override/added later in the functions.php file.
    - thematic_nav_above is properly "removed" (I don't want to override it)
    - thematic_blogdescription is neither removed nor override whatever I'm trying to add later in the functions.php file.
    - thematic_access is properly "removed", and override/added later in the functions.php file.

    What's wrong with thematic_blogdescription?

    patpro

    Posted 9 years ago #
  2. Ok ok sorry, my fault.

    remove_action('thematic_header','thematic_blogdescription',5);

    works better than

    remove_action('thematic_blogdescription','thematic_blogtitle',5);

    That's what happens when you try too many things, too fast.

    Posted 9 years ago #
  3. Hi,

    it's:

    remove_action('thematic_header','thematic_blogdescription',5);

    Chris

    Posted 9 years ago #
  4. Ok .. wasn't fast enough ;)

    Posted 9 years ago #
  5. thank you ;)

    Posted 9 years ago #

RSS feed for this topic

Reply

You must log in to post.