ThemeShaper Forums » Thematic

[closed]

Filter thematic-header

(3 posts)
  • Started 4 years ago by Jamie Mitchell
  • Latest reply from Jamie Mitchell
  • This topic is not resolved
  1. Jamie Mitchell
    Member

    hey all...

    i want to filter out everything in thematic_header, so i can put in my own code

    for example i may want to replace it with :

    <div id="header">
      <div id="header-container">
        <div id="blog-title">title stuff here</div>
        <ul id="menu">menu stuff here</ul>
      </div>
    </div>

    a lot simpler and easier to customize without all the branding and access divs.

    J

    Posted 4 years ago #
  2. Hi Jamie,

    just add this code to your functions.php and it will clean up the header:

    function clear_header() {
    	remove_all_actions('thematic_header');
    }
    add_action('init', 'clear_header');

    Then you can add whatever you need.

    Chris

    Posted 4 years ago #
  3. Jamie Mitchell
    Member

    Thanks heaps Chris !

    JM

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.