-
Notifications
You must be signed in to change notification settings - Fork 16
/
page-custom.php
43 lines (31 loc) · 1.01 KB
/
page-custom.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
Template Name: Custom Page Example
* This is the base custom page template.
*
* Change the "Template Name" at the top and save as page-newname.php and it will
* show up as a template in the Page Templates drop-down on page edit screens in
* the admin.
*
* Then change it as you need for each page or groups of pages.
*
* Convenience, look it up.
*
* Remember to keep the markup and content separate.
*
* For more info: http://codex.wordpress.org/Page_Templates
*
* Visual interactive WordPress template hierarchy: https://wphierarchy.com
*/
?>
<?php get_header(); ?>
<div id="content">
<div id="inner-content" class="wrap cf">
<main id="main" class="m-all t-2of3 d-5of7 cf" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php // Edit the loop in /templates/loop. Or roll your own. ?>
<?php get_template_part( 'templates/loop'); ?>
</main>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>