From: Anthony Talarico Date: Wed, 21 Sep 2016 19:42:04 +0000 (-0400) Subject: changing template back to full width since get_post content executes shortcodes in... X-Git-Tag: v1.0.0^2~246 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cc3cec6499c781fe29edd3ac6cd83e6620221f97;p=WP-Themes%2Fbaragacounty.git changing template back to full width since get_post content executes shortcodes in the page and do_shortcode isn't necessary --- 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) ; ?>