-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add descriptions of all templates to readme.txt Remove guestbook template since it's use is limited (you could use a normal page for the same effect). Add content only template so we can build totally custom pages with the new editor #12
- Loading branch information
1 parent
fd8a48f
commit 8205a96
Showing
2 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
<?php | ||
/** | ||
* Guestbook page template | ||
* Content only page template | ||
* | ||
* Displays a full-width page, with prominent comments styles. Allows for easy | ||
* creation of a Guestbook on a site. | ||
* Removes the site header and footer and just displays the page content. | ||
* | ||
* Template Name: Guestbook | ||
* Template Post Type: post, page | ||
* Template Name: Content Only | ||
* | ||
* @package Jarvis | ||
* @subpackage PageTemplate | ||
* @author Ben Gillbanks <[email protected]> | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License | ||
*/ | ||
|
||
get_header(); | ||
?> | ||
|
||
<main class="full-width guestbook"> | ||
<main id="main"> | ||
|
||
<div class="main-content content-single"> | ||
|
||
|
@@ -29,15 +26,12 @@ | |
the_post(); | ||
|
||
get_template_part( 'parts/content-single', get_post_type() ); | ||
get_template_part( 'parts/comments' ); | ||
|
||
} | ||
} | ||
?> | ||
|
||
</div> | ||
|
||
</main> | ||
|
||
<?php | ||
get_footer(); | ||
</main> |