D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
danluatbos
/
domains
/
danluatbook.com
/
public_html
/
wp-content
/
themes
/
megastore
/
Filename :
page.php
back
Copy
<?php /** * The template for displaying all single posts. * * @package 7up-framework */ get_header(); ?> <?php sv_display_breadcrumb();?> <div id="main-content" class="st-default main-wrapper"> <div class="container"> <div class="row"> <?php sv_output_sidebar('left')?> <div class="<?php echo esc_attr(sv_get_main_class()); ?>"> <?php if(get_post_meta(get_the_ID(),'show_title_page',true) != 'off'):?> <h2 class="page-title"><?php the_title()?></h2> <?php endif;?> <div class="main-page"> <?php while ( have_posts() ) : the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'megastore' ), 'after' => '</div>', ) ); ?> </div><!-- .entry-content --> </article><!-- #post-## --> <?php // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number()) : comments_template(); endif; // End the loop. endwhile; ?> </div> </div> <?php sv_output_sidebar('right')?> </div> </div> </div> <?php get_footer();