WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sidebar has disappeared from posts (5 posts)

  1. Karla
    Member
    Posted 1 year ago #

    My sidebar has disappeared from posts. I was editing single.php to move my related posts from above to below the share buttons. I succeeded in doing that, but lost my sidebar in the process.

    get_sidebar is still in place where it should be. I didn't touch that. And I referred back to the original, unedited single.php for my theme to see where I went wrong. And I can't find the problem.

    Any ideas on what might have happened? I'm clearly not very good at this!

    Many thanks for any help!

    The blog I need help with is http://www.runkarlarun.com.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You are using a 4 year old theme that may no longer be fully compatible with the current & future versions of WordPress but you can download a fresh copy of the theme from http://wordpress.org/themes/yashfa

  3. Karla
    Member
    Posted 1 year ago #

    Really? That's my only option? I've customized it SO much I'd hate to start over even with a fresh copy of the same theme. Anything else it could be than incompatibility?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but with all due respect, you really should have made a backup copy of the theme's single.php template file before you started editing it. Your only other option is to start going through the theme comparing your version and the original version side-by-side.

  5. Karla
    Member
    Posted 1 year ago #

    Did that. Compared my edited version to the original single.php line by line and identified the culprit. Fixed!

Topic Closed

This topic has been closed to new replies.

About this Topic