Tagged: x
-
AuthorPosts
-
April 22, 2016 at 10:16 pm #896186
bnskipperParticipantHello,
I’m pretty new to this and I apologize if this has been asked before. I have my forum set to Content left, sidebar right an am using global content layout but the sidebar will not display on any of the forum topic pages. How do I go about fixing this?
April 24, 2016 at 1:18 am #897171
ChristopherModeratorHi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Please add following code in child theme’s functions.php file :
// Add custom sidebar to bbpress// //=================================================== add_filter('ups_sidebar', 'force_bbpress_sidebar', 20); function force_bbpress_sidebar ( $sidebar ) { return x_is_bbpress() ? 'ups-sidebar-custom-sidebar' : $sidebar; }Instead of
ups-sidebar-custom-sidebarin provided code add your sidebar ID.Hope it helps.
April 26, 2016 at 1:10 am #899771
stephanie gParticipantHello,
I’m having trouble having this solution work for me. I inserted the code in my child theme functions.php and created the appropriate custom sidebar but there is a blank space next to my forums where my sidebar content should be.
Can you tell me what I’m doing wrong? My url is http://www.spiralpraxis.org. I will send you my login info immediately.
April 26, 2016 at 1:14 am #899776
stephanie gParticipantThis reply has been marked as private.April 26, 2016 at 1:48 am #899812
stephanie gParticipantSorry, I realize my error. The sidebar can be accessed through widgets in dashboard. Thanks!
April 26, 2016 at 2:17 pm #900842
JadeModeratorGlad to hear you figured it out Stephanie. Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-896186 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
