Adding Widgets and Sidebars to all forum pages
-
I’m trying to make my forum look uniform to the rest of my site with a dual sidebar of widgets. I’ve tried to follow the documentation for a bbPress specific sidebar and can’t get that to work either https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#26-creating-a-bbpress-specific-sidebar. Any help would be greatly appreciated.
wwww.ultimatesportslounge.com
-
looks like you’ve succeeded – do you still need help?
I tried using short code to call the forum and at first glance it works, but if you click on the test group and topics I made it goes back to full width.
Thanks for the reply
ok, you’ll need to be using the right template – see
item 8
Okay so I copied the code from my page.php and made a bbpress.php
<?php get_header(); ?> <div class="content"> <!-- Sidebar With Content Section--> <?php $ultimate_kickoff_wrapper = 'container'; $ultimate_kickoff_theme_option = get_option('ultimate_kickoff_admin_option', array()); if(isset($ultimate_kickoff_theme_option['enable-boxed-style']) && $ultimate_kickoff_theme_option['enable-boxed-style'] == 'wide-style'){ $ultimate_kickoff_wrapper = 'container-fluid'; }else{ $ultimate_kickoff_wrapper = 'container'; } if( !empty($ultimate_kickoff_content_raw) ){ echo '<div class="vc-wrapper '.esc_attr($ultimate_kickoff_wrapper).'">'; while ( have_posts() ){ the_post(); if( has_shortcode( get_the_content(), 'vc_row' ) ) { echo ultimate_kickoff_content_filter(get_the_content(), true); } } echo '</div>'; echo '<div class="pagebuilder-wrapper">'; ultimate_kickoff_show_page_builder($ultimate_kickoff_content_raw); echo '</div>'; }else{ echo '<div class="'.esc_attr($ultimate_kickoff_wrapper).'">'; $default['show-title'] = 'enable'; $default['show-content'] = 'enable'; echo ultimate_kickoff_get_default_content_item($default); echo '</div>'; } ?> </div><!-- content --> <?php get_footer(); ?>
My theme options aren’t showing when I try to edit the forum.
hmm…. your theme is using lots of clever functions within the theme to do the page layout, which means I can’t say what you need to alter.
I’d suggest you contact your theme provider for help.
How can I manually call my sidebars that I’ve already made in the widget area?
It’s all tied up with the theme’s page code
This all gets very code oriented, hence suggestion to go to theme provider
however if you’re a bit into code try
- You must be logged in to reply to this topic.