portage/page-no-sidebar.php

41 lines
639 B
PHP
Raw Permalink Normal View History

2021-08-01 17:32:46 +00:00
<?php
/**
* <?php
*
* Template Name: Full Width Page
*
*
2021-08-01 17:57:42 +00:00
* @package Portage
2021-08-01 17:32:46 +00:00
*/
get_header();
?>
<div id="content">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
2021-08-01 17:57:42 +00:00
<?php portage_edit_post(); ?>
2021-08-01 17:32:46 +00:00
2021-08-01 17:57:42 +00:00
<?php do_action( 'portage_before_post_title' ); ?>
2021-08-01 17:32:46 +00:00
<h1 class="post-title">
<span class="dashicons dashicons-admin-page"></span>
<?php the_title(); ?>
</h1>
<!-- Start the loop -->
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'inc/page', 'main' ); ?>
<!-- End the loop -->
<?php endwhile; ?>
<?php endif; ?>
</div> <!-- end Content -->
<?php get_footer(); ?>