I am customizing this Wordpress theme and I want it to have a similar 3-column homepage look as http://www.marieclaire.com/ especially the inner sidebar custom image title.
The theme I am using 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 contacted the theme developer but they have not responded in 2 weeks and I am running against a set deadline. I need your help writing the code.
<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>
Thank you for your help.