Skip to content

Instantly share code, notes, and snippets.

@fovoc
Created July 9, 2017 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fovoc/7175f80c2dd3ca55742bd329a51badf4 to your computer and use it in GitHub Desktop.
Save fovoc/7175f80c2dd3ca55742bd329a51badf4 to your computer and use it in GitHub Desktop.
Jobs&Experts plugin & Listify theme
<?php
/**
* Template Name: Layout: Full Width
*
* @package Listify
*/
get_header(); ?>
<div <?php echo apply_filters( 'listify_cover', 'page-cover', array( 'size' => 'full' ) ); ?>>
<h1 class="page-title cover-wrapper"><?php the_title(); ?></h1>
</div>
<?php do_action( 'listify_page_before' ); ?>
<div id="primary" class="container">
<div class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( listify_has_integration( 'woocommerce' ) ) : ?>
<?php wc_print_notices(); ?>
<?php endif; ?>
<?php the_post(); the_title(); rewind_posts(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template(); ?>
<?php endwhile; ?>
</main>
</div>
</div>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment