wordpress/php-fpm/wordpress_files/themes/retropress/sidebar.php
2020-05-22 01:40:23 +00:00

1 line
263 B
PHP

<?php
global $SMTheme, $post;
if ( !in_array($SMTheme->layout, array(1,3,6) ) )
get_sidebar('right');
if ( !in_array($SMTheme->layout, array(1,2) ) )
get_sidebar('left');
if ( $SMTheme->layout == 6 ) {
get_sidebar('right');
}
?>