WordPress.org

Ready to get started?Download WordPress

Forums

My Houdini Sidebar Contents (5 posts)

  1. mimmson
    Member
    Posted 8 years ago #

    The side bar works great on the main page and any created pages however; when you click on a post, presto...chango...it disappears. Any help would be greatly appreciated.

    It shows up here:
    http://frontpagedailynews.com

    But click on a post and you get ths:
    http://frontpagedailynews.com/?p=10

  2. red-star
    Member
    Posted 8 years ago #

    In your singel.php file you have to rule the sidebar out as well. This wil do the trick. You can also do that in your page.php

  3. mimmson
    Member
    Posted 8 years ago #

    Thank you. Heres what I have on page.php Not sure what you mean rule out?

    <?php get_header(); ?>

    <div id="content">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><?php the_title(); ?></h2>

    <?php the_content('Read the rest of this page'); ?>
    <?php link_pages('Pages: ', '', 'number'); ?>

    </div>
    <?php endwhile; endif; ?>
    <?php edit_post_link('Edit this page.', '', ''); ?>
    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  4. red-star
    Member
    Posted 8 years ago #

    <?php get_sidebar(); ?>

    Nah, I dont know myself. The point is that in singel.php your sidebar is or not mentiont, or has de <!-- --> by the code to get the sidebar.

    Okay, I checkt it out on your site, and the sidebar is not mentiont in your single.php

    go ahead

  5. mimmson
    Member
    Posted 8 years ago #

    Thanks! That brought in part of it. Not sue where the rest is.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.