Title: SideBar issues
Last modified: August 20, 2016

---

# SideBar issues

 *  Resolved [Pachel](https://wordpress.org/support/users/pachel/)
 * (@pachel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/)
 * Hello I’m having an issue on some posts the sidebar does not appear…
    If I create
   a new page with the same content then it shows the sidebar but then the sidebar
   dissapears from other pages. What can I do to solve this bug?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674897)
 * post a link to your site to illustrate the issue – without seeing the problem,
   nobody will be able to comment.
 *  [UbaidButt](https://wordpress.org/support/users/ubaidbutt/)
 * (@ubaidbutt)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674901)
 * on the new page you have to write code for displaying sidebars, i-e `<?php if(!
   function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘you sidebar name’) : ?
   ><?php endif; ?>
 *  Thread Starter [Pachel](https://wordpress.org/support/users/pachel/)
 * (@pachel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674904)
 * [http://pkmnhackersonline.com/update2012/rom-hacking/](http://pkmnhackersonline.com/update2012/rom-hacking/)
 * page where the sidebar appears:
    [http://pkmnhackersonline.com/update2012/an-introduction-to-rom-hacking-2/](http://pkmnhackersonline.com/update2012/an-introduction-to-rom-hacking-2/)
 * page where it doesn’t appear:
    [http://pkmnhackersonline.com/update2012/creating-a-version-logo/](http://pkmnhackersonline.com/update2012/creating-a-version-logo/)
   [http://pkmnhackersonline.com/update2012/resources-post/](http://pkmnhackersonline.com/update2012/resources-post/)
 * code of single.php:
    ** [ please use [pastebin & don’t bump your post](http://codex.wordpress.org/Forum_Welcome)]
 *  Thread Starter [Pachel](https://wordpress.org/support/users/pachel/)
 * (@pachel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674962)
 * [http://pastebin.com/E0fV3rBZ](http://pastebin.com/E0fV3rBZ)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674966)
 * are you using any ‘conditional’ widget plugins?
 * the two posts with the sidebar missing seem to be from the same category;
 * what is the code of the sidebar.php? ( -> pastebin )
 *  Thread Starter [Pachel](https://wordpress.org/support/users/pachel/)
 * (@pachel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674967)
 * I’m not using the plugin this is the long sidebar.php:
 * [http://pastebin.com/APEbcPMR](http://pastebin.com/APEbcPMR)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674976)
 * something in the sidebar is not working with single posts with the category ‘
   TUTORIALS’
    (or are there posts with other categories where the sidebar does 
   not show?)
 * double check all those conditional checks –
 * if needed add some test outputs in some places to see how the variables or arrays
   are set;
 * example:
    `<pre><?php print_r($whatever); ?></pre>`
 *  Thread Starter [Pachel](https://wordpress.org/support/users/pachel/)
 * (@pachel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2674977)
 * it’s all posts….
    If I add a new post now under the whole rom hacking category
   in 1 of the sections it will cause another post to lose the sidebar…. It’s very
   strange…
 *  Thread Starter [Pachel](https://wordpress.org/support/users/pachel/)
 * (@pachel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2675002)
 * The issue is resolved it had something to do with the default coding only allowing
   up to 5 posts to have the sidebar.
    I don’t exactly know which file was changed
   to fix this but it’s fixed.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘SideBar issues’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [Pachel](https://wordpress.org/support/users/pachel/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/sidebar-issues-22/#post-2675002)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
