Page Sidebar Not Working
Support Area › Forums › Moonrise › Page Sidebar Not Working
Tagged: Sidebar Page
- This topic has 5 replies, 2 voices, and was last updated 10 years, 3 months ago by RecipeSocial.
-
AuthorPosts
-
January 8, 2014 at 07:26 #16047RecipeSocialParticipant
Hi Bill,
I can’t seem to get the page sidebar to work on any page…
Home page sidebars work fine.
Any suggestions?
Thanks,
Christian.
January 8, 2014 at 07:29 #16048RecipeSocialParticipantHi Bill,
How do i search support posts within a certain theme support area?
I’ve been reading your replies to people’s questions, but how do i see their original question?
Thanks,
Christian.
January 8, 2014 at 09:53 #16055Bill RobbinsModeratorChristian,
Sorry for the trouble. The forum plugin and the membership plugin are causing the top post in the forum to only be visible by me. Sorry for that limitation at the moment. If they can’t clear up the conflict we’ll swap to a ticket based system.
Sorry for the trouble with the page sidebar. Here’s how to take care of that.
- Go to the Appearance section in your WordPress control panel and select Edit.
- From the list of files on your right, choose sidebar.php
- Replace everything there with this:
- Save your changes.
See if that won’t bring up the page sidebar for you. If you run into any trouble, let me know.
Thanks,
BillJanuary 9, 2014 at 08:33 #16072RecipeSocialParticipantHi Bill,
I’ve updated the sidebar with the following copy:
<?php tha_sidebars_before(); ?>
<div id=”sidebar”>
<?php tha_sidebar_top(); ?>
<?php
if ( is_category() && is_active_sidebar(‘sidebar-category’) ) : dynamic_sidebar(‘sidebar-category’);
elseif ( is_page() && is_active_sidebar(‘sidebar-page’) ) : dynamic_sidebar(‘sidebar-page’);
elseif ( is_singular( ‘post’ ) && is_active_sidebar(‘sidebar-post’) ) : dynamic_sidebar(‘sidebar-post’);
elseif ( is_tax( ‘menu-group’ ) && is_active_sidebar(‘sidebar-food’) ) : dynamic_sidebar(‘sidebar-food’);
elseif ( is_tax( ‘service-group’ ) && is_active_sidebar(‘sidebar-services’) ) : dynamic_sidebar(‘sidebar-services’);
elseif ( is_singular( ‘service’ ) && is_active_sidebar(‘sidebar-services’) ) : dynamic_sidebar(‘sidebar-services’ );
else : ?>
<?php dynamic_sidebar(‘sidebar’) ?>
<?php endif; ?>
<?php tha_sidebar_bottom(); ?>
</div>
But it hasn’t fixed the problem unfortunately.
Any other suggestions?
Will i be able to control which widget get displayed on each page when the feature works?
Thanks,
Christian.
January 9, 2014 at 08:39 #16074Bill RobbinsModeratorYou can always add it to the Default Sidebar. That one appears everywhere unless one of the more specific sidebars is in use.
What I sometimes do to make sure I have the right sidebar visible, is I’ll place a text widget inside each sidebar that has the name of the sidebar in it. That way I know for certain which one is showing there.
I have an update to the theme ready to go today you can also wait for it to update code too. Even then it still may be good to try the text widget labels to make sure everything is in the right spot.
Bill
January 9, 2014 at 17:47 #16099RecipeSocialParticipantGot the default widget working, that’s good enough for now, thanks.
Christian.
-
AuthorPosts
- The topic ‘Page Sidebar Not Working’ is closed to new replies.