ID, 'hs_sidebar_layout', true );
if(!$hs_sidebar_layout){
$hs_sidebar_layout = 'right_sidebar';
}
$classes[] = esc_attr('hs_'.$hs_sidebar_layout);
}
return $classes;
}
add_filter( 'body_class', 'hashone_body_classes' );
if( !function_exists( 'hashone_excerpt' ) ){
function hashone_excerpt( $content , $letter_count ){
$content = strip_shortcodes( $content );
$content = strip_tags( $content );
$content = substr( $content, 0 , $letter_count );
if( strlen( $content ) == $letter_count ){
$content .= "...";
}
return $content;
}
}
add_filter( 'wp_page_menu_args' , 'hashone_change_wp_page_menu_args');
if( !function_exists( 'hashone_change_wp_page_menu_args' ) ){
function hashone_change_wp_page_menu_args( $args ){
$args['menu_class'] = 'hs-menu hs-clearfix';
return $args;
}
}
function hashone_dynamic_styles(){
echo "";
}
add_action( 'wp_head', 'hashone_dynamic_styles' );
function hashone_comment( $comment, $args, $depth ) {
$GLOBALS['comment'] = $comment;
extract($args, EXTR_SKIP);
$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';
?>
< id="comment-" >