Support

Home Forums Event Espresso Premium Insert Pages shortcode on Event Page Not working

Insert Pages shortcode on Event Page Not working

Posted: July 9, 2019 at 11:02 am

Viewing 1 reply thread


jestmurd

July 9, 2019 at 11:02 am

I am trying to use the plugin “Insert Pages” to add content to individual Events since I am unable to use Gutenberg reusable blocks. However, when I put the shortcode in the Event and view the page it is stripped out. No shortcode displays at all.


Josh

  • Support Staff

July 9, 2019 at 1:40 pm

Hi,

You can switch off the Insert Pages “nesting check” which will allow its shortcode to display. e.g. add the following code:

add_filter(
    'insert_pages_apply_nesting_check',
    '__return_false'
);

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.

See also:
https://wordpress.org/support/topic/incompatability-with-content-views-plugin/

and

https://github.com/uhm-coe/insert-pages/blob/master/readme.txt#L282-L287

Viewing 1 reply thread

The support post ‘Insert Pages shortcode on Event Page Not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso