Add new inner sidebar for 3 column template
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Add new inner sidebar for 3 column template’ is closed to new replies.