Move into wp-content path
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
39
wp-content/themes/Pirate-Rogue/page-templates/full-width.php
Normal file
39
wp-content/themes/Pirate-Rogue/page-templates/full-width.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Full Width Page
|
||||
*
|
||||
* Description: A page template for a Full Width Page
|
||||
*
|
||||
* @package Pirate Rogue
|
||||
* @since Pirate Rogue 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div class="content-wrap">
|
||||
|
||||
<?php if ( '' != get_the_post_thumbnail() && ! post_password_required() ) : ?>
|
||||
<div class="entry-thumbnail">
|
||||
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('pirate-rogue-bigthumb'); ?></a>
|
||||
</div><!-- end .entry-thumbnail -->
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="blog-wrap" class="blog-wrap cf">
|
||||
<div id="primary" class="site-content cf" role="main">
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) : the_post();
|
||||
|
||||
// Include the page content template.
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</div><!-- end #primary -->
|
||||
</div><!-- end .blog-wrap -->
|
||||
</div><!-- end .content-wrap -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user