• I am customizing this wordpress theme https://demo.bright-theme.com/presto/ and I want it to have a similar 3 column homepage look as https://www.marieclaire.com/.

    The theme uses the same sidebar for all the pages and its not working with the custom image title, as it also appears on all pages. I want to add a second sidebar that only appears on all other pages except homepage. I need your help writing the code.

    Here is the sidebar code:——————————————–

    </div><!-- .primary-content-wrap -->
    			</div><!-- .primary-content -->
    
    			<div class="primary-sidebar">
    			<?php if( is_active_sidebar( 'sidebar-primary' ) ): ?>
    				<?php dynamic_sidebar( 'sidebar-primary' ); ?>
    			<?php endif; ?>
    			</div>
    
    			<?php
    			$layout = get_theme_options_data( 'presto_website_layout' );
    			if( ($layout != "layout-2") && ($layout != "layout-1") ):
    			?>
    				<div class="secondary-sidebar">
    				<?php if( is_active_sidebar( 'sidebar-secondary' ) ): ?>
    					<?php dynamic_sidebar( 'sidebar-secondary' ); ?>
    				<?php endif; ?>
    				</div>
    			<?php endif; ?>
    
    		</div><!-- .site-main-wrap -->
    	</div>
    </div><!-- .site-main -->

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • I’m sorry but as you are using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from www.ads-software.com here.

Viewing 1 replies (of 1 total)
  • The topic ‘Add new inner sidebar for 3 column template’ is closed to new replies.