From: Anthony Talarico Date: Wed, 31 Aug 2016 14:54:41 +0000 (-0400) Subject: using filter to force post content in landing page template to adhere to the_content... X-Git-Tag: v1.0.0^2~48 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a05d9c6ac62aa794f473daa0641a3cf947d89181;p=WP-Themes%2Fpetoskeyarea.git using filter to force post content in landing page template to adhere to the_content formatting --- diff --git a/landing-page.php b/landing-page.php index 361201b..5c35396 100644 --- a/landing-page.php +++ b/landing-page.php @@ -37,7 +37,7 @@ Template Name: Landing Page ID ); ?> - ' . $page_object->post_content . ''; ?> + ' . apply_filters('the_content', $page_object->post_content) . ''; ?>
have_posts() ) : ?> have_posts() ) : $parent->the_post(); ?>