'.$sticky.$post_title.'
'; echo ''.$post_content.'
';
?>
get_theme_mod( 'neatly_index_widget','after'), 'index_widget_num' => get_theme_mod( 'neatly_index_widget_num',3), 'thum_size' => get_theme_mod( 'neatly_index_thum_size','large'), ); while(have_posts()): the_post(); $post_title = get_the_title(); $post_content = mb_strimwidth( wp_strip_all_tags(strip_shortcodes(get_the_content()), true), 0 , 300, '...' ); $post_date = get_the_date(); $post_author = get_the_author(); $human_time = ''; $sticky = ''; if( is_sticky() ) { $sticky = ' '; $post_date = ''; }else{ $human_time = neatly_human_time_diff( date_i18n('Y-m-d H:i:s', get_the_time('U') ) ); if($human_time !== '')$post_date = $human_time; } if($j === 2 || ($j-2) % 3 === 0 ){ echo '