From a05d9c6ac62aa794f473daa0641a3cf947d89181 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 31 Aug 2016 10:54:41 -0400 Subject: [PATCH] using filter to force post content in landing page template to adhere to the_content formatting --- landing-page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ?> -- 2.17.1