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 '
'; $close_tag = false; } $flame_type = ' double_flame'; if( $j === 1 || ($j-1) % 3 === 0 ){ $flame_type = ' single_flame'; } ?>
'; the_post_thumbnail($mod_value['thum_size']); echo ''; } echo '

'.$sticky.$post_title.'

'; echo '
'.$post_content.'
'; ?>
32 )) ) . '" width="32" height="32" class="br50" alt="'.get_the_author_meta( 'nickname' ).'" decoding="async" />'; ?>
'. $post_author .''; ?>
1 && $j % 3 === 0){ echo '
'; $close_tag = true ; } ++$j; if( $j === 2 || ($j-2) % 3 === 0 ){ echo '
'; $close_tag = false; } ?>
1 && $j % 3 === 0){ echo '
'; $close_tag = true ; } ++$j; ++$i; endwhile; if(!$close_tag) echo '';