Forums

sidebar not showing up in Pages (7 posts)

  1. candy
    Member
    Posted 4 years ago #

    i am using a theme called tropical breeze. i have searched through posts and cannot find a solution to suit my problem. when i go to my Pages, my sidebar and footer does not show up.

    i currently do not have a page.php file in my theme.

    what can i do to make my sidebar show (and footer for that matter) show up on all my "Pages"? Thanks! :)

  2. moshu
    Member
    Posted 4 years ago #

    A link would be useful.
    If there is no page.php WP should fall back to the index when displaying Pages.
    Is there any if statement in the header, like if is_page... do this or that?

  3. candy
    Member
    Posted 4 years ago #

    nope, nothing like that in my header.php file. any suggestions on what to do now?

  4. moshu
    Member
    Posted 4 years ago #

    Do you get an error message and the sidebar and footer missing? Why don't you say so?
    Replace in the index.php (around line 55)
    <?php comments_template( is_single() ); // Get comments.php template ?>
    with this:
    <?php comments_template( ); // Get comments.php template ?>

  5. candy
    Member
    Posted 4 years ago #

    thank you that worked for my sidebar showing up but now there is a "leave a reply" comments section in the main part of the page. How can i prevent this from showing? Thanks.

  6. candy
    Member
    Posted 4 years ago #

    bump....thanks! :)

  7. Lorelle
    Member
    Posted 4 years ago #

    1. Do not bump.

    2. One question per post.

    3. Open the comments.php template file and remove or change the "Leave a Reply".

    See: http://codex.wordpress.org for a LOT of answers to your questions.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags