Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Widgets and Sidebars to all forum pages

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

  • Robin W
    Moderator

    @robin-w

    looks like you’ve succeeded – do you still need help?


    cobitts15
    Participant

    @cobitts15

    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


    Robin W
    Moderator

    @robin-w

    ok, you’ll need to be using the right template – see

    Step by step guide to setting up a bbPress forum – Part 1

    item 8


    cobitts15
    Participant

    @cobitts15

    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.


    Robin W
    Moderator

    @robin-w

    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.


    cobitts15
    Participant

    @cobitts15

    How can I manually call my sidebars that I’ve already made in the widget area?


    Robin W
    Moderator

    @robin-w

    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

    Getting Started in Modifying the Main bbPress Template

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar