| Current Path : /home/krobertfnz/www/wp-content/updraft/themes-old/nex/templates/post/main/ |
| Current File : /home/krobertfnz/www/wp-content/updraft/themes-old/nex/templates/post/main/single.php |
<?php include locate_template( 'templates/post/header.php' ); $meta_author = vamtam_get_optionb( 'post-meta', 'author' ); $meta_date = vamtam_get_optionb( 'post-meta', 'date' ); $meta_comments = vamtam_get_optionb( 'post-meta', 'comments' ) && comments_open(); ?><div class="post-content-outer single-post"> <div class="post-meta"> <?php get_template_part( 'templates/post/meta/categories' ); ?> </div> <?php if ( $meta_author || $meta_date || $meta_comments || is_customize_preview() ) : ?> <div class="meta-top clearfix"> <?php if ( $meta_date || is_customize_preview() ) : ?> <span class="post-date vamtam-meta-date" itemprop="datePublished" <?php VamtamTemplates::display_none( $meta_date ) ?>><?php the_time( get_option( 'date_format' ) ); ?> </span> <?php endif ?> <?php get_template_part( 'templates/post/meta/comments' ); ?> </div> <?php endif ?> <?php if ( isset( $post_data['media'] ) && ( vamtam_get_optionb( 'show-single-post-image' ) || is_customize_preview() ) ) : ?> <div class="post-media post-media-image" <?php VamtamTemplates::display_none( vamtam_get_optionb( 'show-single-post-image' ) ) ?>> <div class='media-inner'> <?php echo $post_data['media']; // xss ok ?> </div> </div> <?php endif; ?> <?php include locate_template( 'templates/post/content.php' ); ?> <?php if ( $meta_author || is_customize_preview() ) : ?> <span class="author vamtam-meta-author" <?php VamtamTemplates::display_none( $meta_author ) ?>><?php echo esc_html( _x( 'by:', 'As in: "by Author Name"', 'nex' ) ) ?><?php the_author_posts_link()?></span> <?php endif ?> <div class="post-meta"> <?php get_template_part( 'templates/post/meta/tags' ); ?> </div> <?php get_template_part( 'templates/share' ); ?> </div>