ThemeShaper Forums » Thematic


move blog title

(3 posts)
  • Started 9 years ago by craw
  • Latest reply from craw
  • This topic is resolved
  1. craw

    I'm trying out thematic child theming for the first time and I'm stuck with one item. I want to move the blog title to the bottom of the page. I basically just need the block of code that I need to move from one place to another. Any help would be greatly appreciated. Thanks

    Posted 9 years ago #
  2. Hi Craw,

    I'm new to this myself, and this is my first child theme I've ever made too!

    Looking at index.php, it calls get_header(), which gets header.php.
    header.php has header content (unsurprisingly). This includes an action hook called thematic_header(). The file that access that hook is in /libary/extensions/ called header-extensions.php.
    On line 426, we see the start of the functions that hook into the thematic_header hook.
    On line 441, you should find the comment //create the blog title.
    You should see inside an if statement, it checks to see if there is a function called "childtheme_override_blogtitle".
    If I understand correctly, you can add this function to your child themes functions.php file, and this prevent the blog title from displaying.

    You should find there is a similar function hook override for the footer area which you can use.

    Alternatively you can use css to hide the title by adding something like...

        display: none;

    However I believe the correct way to do it is the first method, which I think is what you are after, including a better understanding of how the thematic framework works.

    I stress this is totally guess work by code inspection.

    Hope that helps.

    Posted 9 years ago #
  3. craw

    Thanks for your help. I'm gonna try this out and I'll post to see if it works.

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.