示例#1
0
}
?>
                        
                        </div>
                        
                    </div><!-- #primary ends here -->
                    
                    <?php 
do_action('imaginy_after_main_content');
?>
                
                </div>
    </div>
    
    <?php 
if (imaginy_show_sidebar()) {
    ?>
    
    <div class="col-md-3">
         <?php 
    if (!dynamic_sidebar('right-sidebar')) {
        ?>
            <div class="pre-widget">
                <h3><?php 
        _e('Left Sidebar', 'imaginy');
        ?>
</h3>
                <p><?php 
        _e('This panel is active and ready for you to add 
                some widgets via the WP Admin', 'imaginy');
        ?>
示例#2
0
 function imaginy_main_content_layout_class()
 {
     if (imaginy_show_sidebar()) {
         return 'col-md-7';
     } else {
         return 'col-md-10';
     }
 }