'
' . esc_html__( 'Pages:', 'izo' ),
'after' => '
',
) );
?>
' . esc_html( $text ) . '';
return $link;
}
/**
* Excerpt length
*/
function excerpt_length( $length ) {
if ( is_admin() ) {
return $length;
}
$length = get_theme_mod( 'excerpt_length', 55 );
return $length;
}
/**
* Blog layout
*/
function blog_layout() {
$layout = get_theme_mod( 'blog_layout', 'layout-default' );
return $layout;
}
/**
* Remove sidebar for specific blog layouts
*/
function check_sidebar( $sidebar ) {
$layout = $this->blog_layout();
if ( ( 'layout-3cols' == $layout || 'layout-3colsmas' == $layout ) && ( is_home() || is_archive() || is_tag() ) ) {
$sidebar = 'no-sidebar';
return $sidebar;
}
return $sidebar;
}
}
/**
* Initialize class
*/
Izo_Post_Item::get_instance();
endif;