-
AuthorPosts
-
March 5, 2019 at 12:18 pm #1074829
Hi
We use the plugin “The Events Calendar” with your enfold theme.
In our events, we had shortcodes for toggles and contact forms and this worked very well.
But now it does not work anymore. Nothing is shown.
See the used shortcodes in the private content.
Is there a compatibility problem with the shortcodes and the “The Events Calendar” plugin?
March 5, 2019 at 2:28 pm #1074882A little addition to this problem.
It seems that the shortcodes work when the event is in draf mode. When it’s published, the shortcodes do not work anymore.
Best regards
MikeMarch 6, 2019 at 7:27 am #1075335Hi Mike,
Can you try adding this code in functions.php:
add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'tribe_events'; /*instead add the name of the custom post type here*/ } } return $metabox; }
Best regards,
NikkoMarch 7, 2019 at 12:51 pm #1075964Hi Nikko
I will check this out.
But would this be fixed in a later Enfold version or will this ever be a hack?
Thanks very much.
Regards
MikeMarch 7, 2019 at 3:58 pm #1076027Hi Mike,
This code is meant to add Advanced Layout Builder to custom post types.
This is in our documentation, I’m not sure if this will be added in the later version but there is a possibility.
We’ll be adding it in our changelog if that happens.Best regards,
NikkoMarch 7, 2019 at 4:22 pm #1076036Ok. But this worked in older versions of Enfold…
And the Plugin The Events Calendar is recommended by your theme, so why we have to add this code? Shouldn’t it work per default?March 7, 2019 at 6:32 pm #1076078Did this solve your problem? Suffering the same issue
March 8, 2019 at 4:09 pm #1076409Yes, now it works. Thanks very much.
March 8, 2019 at 7:32 pm #1076447This does not work in every case. We need the shortcodes working in the general post view with The Events Calendar. We have over 100 events already built in the normal editor view using shortcodes for buttons. There a solution coming soon for this? This is an theme and plugin update issue. thanks.
March 8, 2019 at 7:34 pm #1076448I’ve started a new topic on this https://kriesi.at/support/topic/shortcodes-no-longer-working-with-events-plugin/#post-1076444
March 11, 2019 at 9:30 pm #1077489Hi Robert,
Have you tried the solution posted above?
Best regards,
VictoriaMarch 11, 2019 at 9:37 pm #1077495This reply has been marked as private.May 8, 2019 at 2:49 pm #1098477Hi
I think this issue can be closed.
Thanks very much.
Best regards
MikeMay 8, 2019 at 9:24 pm #1098600Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Shortcodes for toggles and contact forms do not work anymore’ is closed to new replies.