From cc3cec6499c781fe29edd3ac6cd83e6620221f97 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 21 Sep 2016 15:42:04 -0400 Subject: [PATCH] changing template back to full width since get_post content executes shortcodes in the page and do_shortcode isn't necessary --- functions.php | 2 +- sections/interior-page.php | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index caee3db..4b69bd3 100644 --- a/functions.php +++ b/functions.php @@ -212,7 +212,7 @@ add_filter( 'custom_page_templates', function( $now_templates ) { // Below are some commented examples of custom quasi-templates. $templates = array( 'page-chamber' => 'Chamber Page', - 'events-list' => 'Events List' + 'full-width' => 'Full Width' // 'any-template-slug' => 'Sample Template' , ); diff --git a/sections/interior-page.php b/sections/interior-page.php index 4075d71..bdfc531 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -4,6 +4,7 @@

+ ID); ?>
ID ) == "page-chamber") { ?> @@ -21,9 +22,10 @@
- ID ) == "events-list") { ?> -
- + ID ) == "full-width") { ?> + +
+ post_content) ; ?>
-- 2.17.1