Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1321819

    Hi there,

    We’re running Enfold 4.8.6.2 with the lastest version of WP (see images for all details, plugins etc, links in private content).
    When we add the code for one of their forms (I’ve placed it in private content), it will break the page builder (placing elements over top) and breaking it up basically. On the front end it doesn’t show as it’s supposed to, see screenshots for examples.

    If I place this in a seperate html file, it works exactly as expected but in the page builder it completely breaks.
    Idea idea or pointers on how to fix this?

    With regards

    #1322010

    Hey xsbyte,

    Thank you for the inquiry.

    You have to create a custom shortcode for the embed code because adding input tags directly in the builder could break the editor. The code above has a lot of input tags in it.

    To learn more on how to create a custom shortcode, please check the following documentation.

    // https://codex.wordpress.org/Shortcode_API

    Best regards,
    Ismael

    #1322019

    Hi Ismael,

    Thanks, we’re also in touch with Autopilot to see if we can figure out how to resolve this without using custom code. We want to use the Autopilot forms feature on all client websites and they should be able to manage them as well, so shortcodes isn’t a viable solution in that usecase.
    Any other ideas we can persue?

    #1322132

    Hi,

    Aside from using shortcode, which is the best option you have in this case, you can also create a script that dynamically renders the Autopilot forms in a specific element in the page once the document loads. You will have to use jQuery or Javascript for this. You may need to use any of these functions.

    // https://api.jquery.com/appendto/
    // https://api.jquery.com/add/

    Please ask the plugin authors for additional assistance.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.