Skip to content

Instantly share code, notes, and snippets.

@istefan
Last active April 18, 2016 11:35
Show Gist options
  • Select an option

  • Save istefan/9dee795fd258ba8762034217affe0fa4 to your computer and use it in GitHub Desktop.

Select an option

Save istefan/9dee795fd258ba8762034217affe0fa4 to your computer and use it in GitHub Desktop.
Page Template for WTE Custom Sidebars
<?php
/**
* Template Name: Front Page
*
* Custom Front Page Template.
*
* @link https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
*
* @package WPshed
*/
get_header(); ?>
<div id="primary" class="front-page-content-area">
<main id="main" class="front-page-template" role="main">
<article id="post-<?php the_ID(); ?>">
<header>
<?php the_title( '<h1 class="entry-title screen-reader-text">', '</h1>' ); ?>
</header>
<?php if ( function_exists( 'wte_widgets_output' ) ) wte_widgets_output(); ?>
</article><!-- #post-## -->
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment