WordPress.org

Ready to get started?Download WordPress

Forums

Headers Not Showing (21 posts)

  1. treeheart
    Member
    Posted 6 years ago #

    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

  2. shadow
    Member
    Posted 6 years ago #

    Please provide your url...

  3. treeheart
    Member
    Posted 6 years ago #

    Thank you, Shadow.
    It is:

    http://prosperityonabudget.com

    Sandra

  4. moshu
    Member
    Posted 6 years ago #

    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?

  5. treeheart
    Member
    Posted 6 years ago #

    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

  6. moshu
    Member
    Posted 6 years ago #

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

    and style the "whatever..." class in your stylesheet.

  7. treeheart
    Member
    Posted 6 years ago #

    Hello again, Moshu:

    Where am I adding this? In header.php?

    Sandra

  8. moshu
    Member
    Posted 6 years ago #

  9. treeheart
    Member
    Posted 6 years ago #

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

  10. treeheart
    Member
    Posted 6 years ago #

    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...

  11. moshu
    Member
    Posted 6 years ago #

    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 ...

  12. treeheart
    Member
    Posted 6 years ago #

    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...

  13. moshu
    Member
    Posted 6 years ago #

    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 ?

  14. treeheart
    Member
    Posted 6 years ago #

    Thank you. It's on its way.

  15. treeheart
    Member
    Posted 6 years ago #

    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

  16. moshu
    Member
    Posted 6 years ago #

    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;
    }
  17. treeheart
    Member
    Posted 6 years ago #

    Hello again, Moshu:

    I tried using your code above (of course filling in the font-size, font, color, etc.) and not only did it not work, but I seem to have deleted my sidebar in the process.

    When this happened, I quickly uninstalled the WP Theme Generator theme I had been modifying and then re-installed it, but I still can't seem to get the sidebar to come up! I have applied for membership on the WP Theme Generator Help Forum, but they still haven't responded to my application and so I can't get any help from them.

    My next course of action is to try to contact the Theme's creator directly. It's getting really tempting to just switch to another theme, but you know what they say about a devil you know....

    Any suggestions? Anyone?

  18. moshu
    Member
    Posted 6 years ago #

    I have no idea what you did, sorry.
    Did you edit the file with the online Theme Editor?
    (rant: nobody should ever use it...)

  19. treeheart
    Member
    Posted 6 years ago #

    Errmm, yes, I did use the online Theme Editor. Not a good idea, eh?

    Is that why you were using the pastebin.ca site?

  20. moshu
    Member
    Posted 6 years ago #

    No, I don't use it because it does NOT have an "undo" button :)

    I always edit the files in a plain text editor on my computer and upload them via ftp.
    I hope you have a backup copy of your template files/theme files - so just upload the ones you messed up and you should be fine,.

  21. treeheart
    Member
    Posted 6 years ago #

    Hi Moshu:

    Sorry not to respond sooner. Busy day today. Well whatever was wrong with my site seems to have righted itself. After uninstalling and reinstalling the Theme, my sidebar came back, so that's one problem solved.

    I also found some old emails from Theme Generator's creator and I may just try to reach her about the font problem. She helped me with it before and although her original fix doesn't seem to be working with the new WP version, perhaps she can help me again. We'll see.

    Thank you for all your help.

    Sandra

Topic Closed

This topic has been closed to new replies.

About this Topic