Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #250247

    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.

    #250288

    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

    #401230

    Hi Devin,
    This seems not to work any more.
    I’ve got white screen of death.

    #401558

    Hi!

    Can you please post the code you used using – pastebin.com ?

    Best regards,
    Yigit

    #865996

    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.

    • This reply was modified 6 years, 5 months ago by RGDesign.
    #866012

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Enfold, how to create a custom shortcode?’ is closed to new replies.