ThemeShaper Forums » Thematic

Changing header.php in a child theme

(5 posts)
  • Started 15 years ago by DataGnostics
  • Latest reply from jivany
  • This topic is resolved
  1. I want to change the contents of header.php for a child theme:

    1) including a new div "headerstuff" between the branding and access divs.

    2) alter the branding divs so that "blogtitle" is h1, "blog-description" is h2

    3) then I can made the branding div float-left, headerstuff float-right (I know how to do this)

    4) ideally, I'd like headerstuff to be a widget, so I can easily put in ads, or a featured post, or rotating images, or whatever.

    Do I have to do this by changing header.php for thematic itself, or is there something I can do just in the child theme?

    Posted 15 years ago #
  2. Copy header.php to your Child Theme folder and edit it there. In WP 2.6 you'll need to use WordPreciousss for WP to see it but 2.7 will recognize it automatically.

    Posted 15 years ago #
  3. Ian,

    Did you add default support for WordPreciousss in a recent version of Thematic? I think I have 0.65 and it looks like I'm going to have to hackup Thematic to add this.


    Posted 15 years ago #
  4. I've activated WPsss 3.1.1, the plugin-only version, and the googles do nothing -- that is, it's still only seeing header.php in thematic, not the one in my child theme. (I'm using Wordpress 2.6.) Is there something I'm supposed to do besides activate the plugin?

    Posted 15 years ago #
  5. From what I can see on the WordPreciousss site, you need to modify all of the Thematic .php files that call get_header. Instructions are here:

    This is why I was asking Ian if he had already made these changes in a more recent version of Thematic. It's sort of defeating the purpose of the parent theme but until 2.7 shows up, we're stuck hacking up Thematic.

    Posted 15 years ago #

RSS feed for this topic


You must log in to post.