Hi,
I have a footer being added onto every page through inserting the content from another page…
<?php
$id = '7710';
$p = get_page($id);
echo apply_filters('the_content', $p->post_content);
?>
However, it works on every page other than the Add an Event page, where it’s just displaying the shortcode that’s the page content, instead of displaying what should be shown – see here: https://aquaphysical.com/classes/community/add
How do I get this to work?
Also, is there not a better way of managing this page through a shortcode on another page or something? Or does it have to appear the way it does…
Cheers,
Matt