From: Laury GvR Date: Thu, 10 Oct 2019 17:05:47 +0000 (-0400) Subject: Adjust footer action items to not get post content X-Git-Tag: v1.1.0^2~25 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4a28d7029052cd3b86bdcc7ccdf12c106b7ea078;p=WP-Themes%2Fpetoskeyarea.git Adjust footer action items to not get post content Blog code was using a filter causing the post content to appear in the block content areas, instead of the block content. This has been replaced with the $block->post_content line to avoid this issue. --- diff --git a/parts/footer-action-items.php b/parts/footer-action-items.php index 3ab6b40..942da87 100644 --- a/parts/footer-action-items.php +++ b/parts/footer-action-items.php @@ -19,17 +19,17 @@

post_title;?>

- post_content) . $block->post_excerpt;?> -
- url) { ?> - externalUrl){echo ' target="_blank"';}?>> - post_name == 'enews-signup') { ?> - Signup - post_name == "free-travel-guide" ) { ?> - View Them All - - - + post_content);?> +
+ url) { ?> + externalUrl){echo ' target="_blank"';}?>> + post_name == 'enews-signup') { ?> + Signup + post_name == "free-travel-guide" ) { ?> + View Them All + + +