posts) == $post_loop_count ? " post-entry-last " : ""; $current_post['post_class'] = "post-entry-".$current_post['the_id']." post-loop-".$post_loop_count." post-parity-".$current_post['parity'].$current_post['last']." ".$blog_style; $current_post['post_format'] = get_post_format() ? get_post_format() : 'standard'; $current_post['post_layout'] = avia_layout_class('main', false); /* * retrieve slider, title and content for this post,... */ $size = strpos($blog_style, 'big') ? (strpos($current_post['post_layout'], 'sidebar') !== false) ? 'entry_with_sidebar' : 'entry_without_sidebar' : 'square'; $current_post['slider'] = get_the_post_thumbnail($current_post['the_id'], $size); $current_post['title'] = get_the_title(); $current_post['content'] = apply_filters('avf_loop_author_content', get_the_excerpt()); $with_slider = empty($current_post['slider']) ? "" : "with-slider"; /* * ...now apply a filter, based on the post type... (filter function is located in includes/helper-post-format.php) */ $current_post = apply_filters( 'post-format-'.$current_post['post_format'], $current_post ); /* * ... last apply the default wordpress filters to the content */ $current_post['content'] = str_replace(']]>', ']]>', apply_filters('the_content', $current_post['content'] )); /* * Now extract the variables so that $current_post['slider'] becomes $slider, $current_post['title'] becomes $title, etc */ extract($current_post); /* * render the html: */ ?>
' 'entry')); ?>>
'entry_content','echo'=>false)).'>'; $content_output .= wpautop($content); $content_output .= '
'; $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, '', ', ','').' '; } } } //elegant blog if( strpos($blog_global_style, 'elegant-blog') !== false ) { if(!empty($cats)) { echo ''; echo $cats; echo ''; $cats = ""; } echo $title; echo ''; echo $content_output; $cats = ""; $title = ""; $content_output = ""; } //echo the post title echo $title; ?> /"; echo ""; comments_popup_link( "0 ".__('Comments','avia_framework'), "1 ".__('Comment' ,'avia_framework'), "% ".__('Comments','avia_framework'),'comments-link', "".__('Comments Disabled','avia_framework')); echo ""; echo "/"; } if(!empty($cats)) { echo ''.__('in','avia_framework')." "; echo $cats; echo '/'; } echo ''.__('by','avia_framework')." "; echo ''; echo ''; ?>

'entry_content')); ?>>