1) $post_loop_count = ((int) ($page - 1) * (int) get_query_var('posts_per_page')) +1; $blog_style = avia_get_option('blog_style','multi-big'); while ( have_posts() ) : the_post(); $the_id = get_the_ID(); $parity = $post_loop_count % 2 ? 'odd' : 'even'; $last = count($wp_query->posts) == $post_loop_count ? " post-entry-last " : ""; $post_class = "post-entry-".$the_id." post-loop-".$post_loop_count." post-parity-".$parity.$last." ".$blog_style; $post_format = get_post_format() ? get_post_format() : 'standard'; ?>
'entry')); ?>>
{$post_loop_count}"; //echo the post title $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false)); echo "

".get_the_title()."

"; ?> "; echo ""; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo ""; } } $taxonomies = get_object_taxonomies(get_post_type($the_id)); $cats = ''; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array('post_tag','post_format') ); $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', $excluded_taxonomies, get_post_type($the_id), $the_id); if(!empty($taxonomies)) { foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } if(!empty($cats)) { echo "/"; echo ''.__('in','avia_framework')." "; echo $cats; echo ''; } ?>
'entry_content','echo'=>false)).'>'; $excerpt = trim(get_the_excerpt()); if(!empty($excerpt)) { the_excerpt(); } else { $excerpt = strip_shortcodes( get_the_content() ); $excerpt = apply_filters('the_excerpt', $excerpt); $excerpt = str_replace(']]>', ']]>', $excerpt); echo $excerpt; } echo '
'; ?>
= 100) $counterclass = "nowidth"; endwhile; else: ?>

'entry_content')); ?>>

'arbitrary-instance-'.$id, 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' )); echo '
'; echo "
"; endif; echo avia_pagination('', 'nav'); ?>