My Houdini Sidebar Contents (5 posts)

  1. mimmson
    Posted 9 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:

    But click on a post and you get ths:

  2. red-star
    Posted 9 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
    Posted 9 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'); ?>

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

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  4. red-star
    Posted 9 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
    Posted 9 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


No tags yet.