3 d max

3 d max

3 d max


ID, ‘_tpl_default_settings’, TRUE );
$tpl_default_settings = is_array( $tpl_default_settings ) ? $tpl_default_settings : array();

if($GLOBALS[‘force_enable’] == true)
$page_layout = $GLOBALS[‘page_layout’];
else
$page_layout = array_key_exists( “layout”, $tpl_default_settings ) ? $tpl_default_settings[‘layout’] : “content-full-width”;

$show_sidebar = $show_left_sidebar = $show_right_sidebar = false;
$sidebar_class = “”;

switch ( $page_layout ) {
case ‘with-left-sidebar’:
$page_layout = “page-with-sidebar with-left-sidebar”;
$show_sidebar = $show_left_sidebar = true;
$sidebar_class = “secondary-has-left-sidebar”;
break;

case ‘with-right-sidebar’:
$page_layout = “page-with-sidebar with-right-sidebar”;
$show_sidebar = $show_right_sidebar = true;
$sidebar_class = “secondary-has-right-sidebar”;
break;

case ‘both-sidebar’:
$page_layout = “page-with-sidebar page-with-both-sidebar”;
$show_sidebar = $show_right_sidebar = $show_left_sidebar = true;
$sidebar_class = “secondary-has-both-sidebar”;
break;

case ‘content-full-width’:
default:
$page_layout = “content-full-width”;
break;
}

if ( $show_sidebar ):
if ( $show_left_sidebar ): ?>

‘, ‘link_before’ => ‘‘, ‘link_after’ => ‘‘, ‘next_or_number’ => ‘number’, ‘pagelink’ => ‘%’, ‘ => 1 ) );
edit_post_link( __( ‘ Edit ‘,’dt_themes’ ) );
?>


Aller à la barre d’outils