Support » Fixing WordPress » Sidebar has disappeared from posts

  • Resolved Karla

    (@kabruning)


    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)


    Forum Moderator


    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

    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?

    esmi

    (@esmi)


    Forum Moderator


    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.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar has disappeared from posts’ is closed to new replies.