Hi,
What would be the best way and location to insert a custom shortcode into Enfold. Basically I want a shortcode that pulls some posts and displays them in a certain way, where would I add it so that I can later use/call it easily into the Advanced builder?
Thanks.
Hi yavors!
You can do so from a child theme by using this function along with a new folder to hold the new files: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Regards,
Devin
Hi Devin,
This seems not to work any more.
I’ve got white screen of death.
I have followed the example link and get a 500 error when trying to add the code to the function files. if I remove the first line the site comes back so there is something wrong with the add filter.
https://kriesi.at/support/topic/custom-shortcodes/ < This worked but did not add my new file to the short codes.
Hi,
@fpalcic Can you please start a new thread under Enfold sub forum and attach all the details and logins in private content field, so we can look into it? If you post them here, they will be visible to creator of this thread as well and since this is a pretty old thread, i am closing this one. We will be waiting for your thread :)
Best regards,
Yigit