WordPress.org

Ready to get started?Download WordPress

Forums

sidebars not working (16 posts)

  1. halfandhalf
    Member
    Posted 8 years ago #

    My 3 column template (a spinoff of McFire) isn't showing the sidebars. http://www.halfandhalf.org/wordpress/ Any idea why? I'm missing the bottom half of the left side (a bitmap) and the right side is supposed to show my Flickr photos and archives.

  2. merfnet
    Member
    Posted 8 years ago #

    did you download the file and activate it in the wordpress control panel?

  3. halfandhalf
    Member
    Posted 8 years ago #

    I downloaded it and uploaded it to my server.

  4. merfnet
    Member
    Posted 8 years ago #

    when you use the wordpress control panel and you see where it says .css and header page. etc. look and see if there is a sidebar folder there as well.

  5. halfandhalf
    Member
    Posted 8 years ago #

    Yes, I have a sidebar page in my Dashboard > Presentation > Theme Editor

  6. halfandhalf
    Member
    Posted 8 years ago #

    Please... can someone take a look?

  7. moshu
    Member
    Posted 8 years ago #

    Paste yout index.php code to http://pastebin.com and post back with the url.

  8. halfandhalf
    Member
    Posted 8 years ago #

  9. moshu
    Member
    Posted 8 years ago #

    I don't see any call to sidebar.php or footer.php (or for a second sidebar). I am not familiar with the theme you are using, but it seems while modifying it - somehow those calls got lost. Check the original and compare with your code: there should be something like:
    <?php get_sidebar(); ?> etc.

  10. archshrk
    Member
    Posted 8 years ago #

    Some themes call for the sidebar via the header or footer. Look there too.

  11. moshu
    Member
    Posted 8 years ago #

    Thanks, archshrk, that's true. I should have mentioned that.

  12. halfandhalf
    Member
    Posted 8 years ago #

    it's in the footer: http://pastebin.com/393479

  13. moshu
    Member
    Posted 8 years ago #

    Aha. So, now you have to check the header.php whether it has a call for footer (though that would be strange) - or place the call for the footer.php at the end of the index file, using the example above.

  14. halfandhalf
    Member
    Posted 8 years ago #

    it looks to me that the footer is being called with an action??
    http://pastebin.com/393487

  15. moshu
    Member
    Posted 8 years ago #

    Just put the code as I said.
    <?php get_footer(); ?> - at the bottom of the index.php.

  16. halfandhalf
    Member
    Posted 8 years ago #

    thanks. I guess I just need to reformat the css positioning now. http://www.halfandhalf.org/wordpress/

Topic Closed

This topic has been closed to new replies.

About this Topic