File "template-full-width.php"
Full Path: /home/leadltht/fastlinkinternet.com/themes/internet-provider/template-full-width.php
File size: 1.25 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* The Template Name: Full Width
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package Internet Provider
*/
get_header(); ?>
<div class="container">
<div id="content" class="contentsecwrap">
<section class="site-main fullwidth">
<?php if( have_posts() ) :
while( have_posts() ) : the_post(); ?>
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php the_post_thumbnail(); ?>
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'internet-provider' ),
'after' => '</div>',
) );
?>
<?php
//If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
</div>
<?php endwhile; endif; ?>
</section>
</div>
</div>
<?php get_footer(); ?>