-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
page-custom.php
45 lines (35 loc) · 1.12 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
44
45
<?php
/*
Template Name: Custom Page Example
*
* This is the base custom page template.
*
* To use for your theme, change the name of your template from
* "Custom Page Example" above. Example:
*
* Template Name: My Custom Page
*
* Then save this template as page-mycustompage.php and it will show up
* as a template in the Page Templates drop-down on page edit screens in the admin.
*
* Important: the "Template Name: " is required by WordPress so that your template
* will show up as a choice in the admin.
*
* 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">
<main id="main" class="main" role="main" itemscope itemprop="mainContentOfPage" itemtype="https://schema.org/Blog">
<?php // Edit the loop in /templates/loop. Or roll your own. ?>
<?php get_template_part( 'templates/loop'); ?>
</main>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>