$blog_style,
'number' => $post_number,
'add_view_more' => false,
'posts_on_page' => $per_page,
'columns_count' => $blog_columns,
// Get post data
'strip_teaser' => false,
'content' => lorem_ipsum_books_media_store_get_template_property($blog_style, 'need_content'),
'terms_list' => !lorem_ipsum_books_media_store_param_is_off($show_filters) || lorem_ipsum_books_media_store_get_template_property($blog_style, 'need_terms'),
'parent_tax_id' => $parent_tax_id,
'descr' => lorem_ipsum_books_media_store_get_custom_option('post_excerpt_maxlength'.($blog_columns > 1 ? '_masonry' : '')),
'sidebar' => !lorem_ipsum_books_media_store_param_is_off($show_sidebar),
'filters' => $show_filters != 'hide' ? $show_filters : '',
'hover' => $hover,
'hover_dir' => $hover_dir
);
$post_data = lorem_ipsum_books_media_store_get_post_data($post_args);
lorem_ipsum_books_media_store_show_post_layout($post_args, $post_data);
if ($show_filters=='tags') { // Use tags as filter items
if (!empty($post_data['post_terms'][$post_data['post_taxonomy_tags']]->terms)) {
foreach ($post_data['post_terms'][$post_data['post_taxonomy_tags']]->terms as $tag) {
$flt_ids[$tag->term_id] = $tag->name;
}
}
}
}
if (lorem_ipsum_books_media_store_get_template_property($blog_style, 'need_isotope')) {
?>
1) {
?>
'no-search'), false );
} else {
lorem_ipsum_books_media_store_show_post_layout( array('layout' => 'no-articles'), false );
}
} else {
// Isotope filters list
$filters = '';
$filter_button_classes = 'isotope_filters_button';
if ($show_filters == 'categories') { // Use categories as filter items
$taxonomy = lorem_ipsum_books_media_store_is_taxonomy();
$cur_term = $taxonomy ? lorem_ipsum_books_media_store_get_current_term($taxonomy) : 0;
$cur_term_id = $cur_term ? $cur_term->term_id : 0;
$portfolio_parent = $cur_term_id ? max(0, lorem_ipsum_books_media_store_get_parent_taxonomy_by_property($cur_term_id, 'show_filters', 'yes', true, $taxonomy)) : 0;
$args2 = array(
'type' => !empty($args['post_type']) ? $args['post_type'] : 'post',
'child_of' => $portfolio_parent,
'orderby' => 'name',
'order' => 'ASC',
'hide_empty' => 1,
'hierarchical' => 0,
'exclude' => '',
'include' => '',
'number' => '',
'taxonomy' => $taxonomy,
'pad_counts' => false
);
$portfolio_list = get_categories($args2);
if (is_array($portfolio_list) && count($portfolio_list) > 0) {
$filters .= '