cobitts15 (@cobitts15)

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @cobitts15

    Participant

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

    @cobitts15

    Participant

    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.

    @cobitts15

    Participant

    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

    In reply to: How to add a sidebar

    @cobitts15

    Participant

    Any luck on this topic?

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