Sindbad~EG File Manager
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
<?php
$template_args['post_ID'] = $ID;
$template_args['post_Style'] = $Post_Style;
$template_args = array_merge( $template_args, trendz_archive_blog_post_params() );
foreach ( $archive_post_elements as $key => $value ) {
switch( $value ) {
case 'title':
case 'content':
case 'feature_image':
case 'meta_group':
case 'likes_views':
case 'social':
trendz_template_part( 'blog', 'templates/post-extra/'.$value, '', $template_args );
break;
case 'read_more':
break;
default:
$path = trendz_get_template_part( 'blog', 'templates/'.$Post_Style.'/parts/'.$value, '', $template_args );
$path = !empty( $path ) ? $path : trendz_get_template_part( 'blog', 'templates/post-extra/'.$value, '', $template_args );
echo trendz_html_output($path);
break;
}
if( 'meta_group' == $value ) :
echo '<div class="entry-meta-group">';
foreach ( $archive_meta_elements as $key => $value ) {
switch( $value ) {
case 'likes_views':
case 'social':
trendz_template_part( 'blog', 'templates/post-extra/'.$value, '', $template_args );
break;
default:
$path = trendz_get_template_part( 'blog', 'templates/'.$Post_Style.'/parts/'.$value, '', $template_args );
$path = !empty( $path ) ? $path : trendz_get_template_part( 'blog', 'templates/post-extra/'.$value, '', $template_args );
echo trendz_html_output($path);
break;
}
}
trendz_template_part( 'blog', 'templates/post-extra/read_more', '', $template_args );
echo '</div>';
endif;
}
do_action( 'trendz_blog_post_entry_details_close_wrap' );
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists