$elements_pos['feature_image']) + $elements_pos; } $template_args['post_ID'] = $Post_ID; $template_args['column'] = $Post_Column; $template_args['post_Layout'] = $Post_Layout; $template_args['post_Style'] = $Post_Style; $template_args['meta'] = $meta; foreach( $elements_pos as $key => $value ): if( $key == 'feature_image' ): $post_meta = get_post_meta($Post_ID, '_dt_post_settings', TRUE); $post_meta = is_array($post_meta) ? $post_meta : array(); $format = !empty( $post_meta['post-format-type'] ) ? $post_meta['post-format-type'] : 'standard'; if( $Post_Layout == 'entry-grid' ): $template = 'framework/templates/archive/entry-image.php'; ?>
'; endif; endif; elseif( $key == 'title' ): $template = 'framework/templates/archive/entry-title.php'; ?>
0 ): $template = 'framework/templates/archive/entry-excerpt.php'; $template_args['excerpt_length'] = $meta[3]; alagu_get_template( $template, $template_args ); endif; elseif( $key == 'read_more' ): if( $meta[4] != '' ): if( $Post_Style == 'dt-sc-classic-ii-style' ): echo '
'; echo ''.$meta[4].''; echo '
'; else: echo '
'; echo ''.$meta[4].''; echo '
'; endif; endif; elseif( $key == 'author' ): $template = 'framework/templates/archive/entry-author.php'; ?>
$value ): if( $key == 'author' ): $template = 'framework/templates/archive/entry-author.php'; ?>
'; endif;