D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
danluatbos
/
domains
/
danluatbook.com
/
public_html
/
wp-content
/
themes
/
megastore
/
Filename :
only-content.php
back
Copy
<?php /* * Template Name: Only Content * * * */ get_header('none'); ?> <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()); ?>"> <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('none');