Support » Fixing WordPress » My Houdini Sidebar Contents
10 years, 11 months 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:
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
Thank you. Heres what I have on page.php Not sure what you mean rule out?
<?php get_header(); ?>
<?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(); ?>
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
Thanks! That brought in part of it. Not sue where the rest is.