WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Not sure how to get sidebar to show. (4 posts)

  1. martcol
    Member
    Posted 3 years ago #

    I'm not sure what else to say really. I don't know why the sidebar won't show on just the home page: pictopoetry.co.uk. All I can think to do is put up the code.

    Thanks

    Martin

    index.php:

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. martcol
    Member
    Posted 3 years ago #

    Sorry, I goofed with the code thing.

    Here's the pastebin link.

    I am really struggling with this.

    Thanks.

  3. thisisedie
    Member
    Posted 3 years ago #

    Is the tag for the sidebar (<?php get_sidebar(); ?>) being called in the index.php of your theme?

  4. martcol
    Member
    Posted 3 years ago #

    This is in the header.php

    </div>
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Submenu') ) : ?><?php endif; ?>
    <div id="blog">

    Martin

    PS and that's the same as the other pages where the sidebar does show.

    And this is at the bottom of index.php

    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags