Support » Fixing WordPress » Headers Not Showing

  • Hello:

    I just upgraded to 2.3 and have also re-installed my theme (created by WP Theme Generator). And now for some reason the Title of my blog and the Sub-title of my blog are not showing. I had a similar issue in the earlier version of WP and someone on this forum provided me with the code to fix it, but that code no longer seems to fix the problem with the newer version of WP. When I try it, I get an error message. Can someone help me with this?

    Thank you.

    Sandra

Viewing 15 replies - 1 through 15 (of 20 total)
  • Please provide your url…

    Thank you, Shadow.
    It is:

    http://prosperityonabudget.com

    Sandra

    It looks as if that part of your theme is missing the call for the blog_title and blog_description.
    Can you paste your header.php file to http://wordpress.pastebin.ca and post back the URL?

    Hi Moshu:

    Okay. In the interim, I have managed to get the Title to appear. Now we just need to get the description centered underneath it and we’ll be set.

    The URL is http://wordpress.pastebin.ca/730736

    Thank you again for your help.

    Sandra

    You need to add this template tag:
    <div class="whatever-your-class"><?php bloginfo('description'); ?></div>

    and style the “whatever…” class in your stylesheet.

    Hello again, Moshu:

    Where am I adding this? In header.php?

    Sandra

    Thank you again, Moshu.
    Pasted the code and there’s still no sub-title showing.
    What’s next?

    I’m also noticing now that I’ve pasted in the new code that I have # marks at the top of other pages on the site and at the top of archived pages. Curious…

    Because when you copied the code you did it from the wrong source 🙂
    Copy it from the lower window… otherwise you will have the line numbering # everywhere …

    Okay. I re-pasted the code from the bottom window as you instructed, and I am still seeing # marks and no sub-title. Not sure what I’m missing here…

    I see now.
    On Pages it works perfectly.
    Has # on archives.
    No tagline on index.

    Looks like some ugly, hidden conditional somewhere is interfering. Unfortunately I have no idea how that theme generator works or whether it creates the right template files or not.

    Could you zip the whole theme and send it over to my name here AT transycan dot net ?

    Thank you. It’s on its way.

    Moshu,

    I got your repaired header.php file and all is working just fine now. I so appreciate your help!

    I do have one other question about the sub-heading. I have been trying to adjust its size without any success. I have tried changing the font sizes in the stylesheet and the sub-heading is not changing. Any ideas on how to affect the size of the sub-heading?

    Sandra

    As you might have noticed, that part is in a div class “description”.
    So, you will need to add (or modify, if exists) that class’s definition in the style.css:

    .description {
    font-size:....;
    whatever: xyz;
    }

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Headers Not Showing’ is closed to new replies.