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

    Hi,

    Since Enfold does not offer any solution to have an advanced layout with a working woocommerce gallery for variable products,
    we use the element “load content from another page”. (here: from a portfolio item).

    But the content is not displayed/parsing correctly. Do you have a solution for this?

    Thank you

    • This topic was modified 4 years, 11 months ago by Mike.
    #1166245

    Hey Mike,

    Thank you for the update.

    By default, shortcodes from the advance layout builder will only work inside the builder itself and the widgets. You have to add the following filter in the functions.php file to execute shortcodes that were added some where else.

    // https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/ALB%20Elements/General%20filters/avf_alb_exec_sc_only.php

    The shortcodes should work after that, but they might not look or behave exactly as they do when added directly in the advance layout builder.

    Best regards,
    Ismael

    #1166315

    Hi Ismael,

    Thank you. Code is added, but still not working:

    Is there anything you can do about that with FTP access?
    Thank you

    #1166729

    Hi,

    Thank you for the update.

    How can we login to the site? We tried using the login credentials above to access the dashboard but it didn’t work. Please post the login URL and an updated login account in the private field.

    Best regards,
    Ismael

    #1166803

    Hi Ismael

    Thank you. Logins in private

    #1168028

    Hi,

    Thank you for the update.

    We modified the enfold\config-templatebuilder\avia-shortcodes\postcontent.php and edit the code around line 252 so that it will process the shortcodes instead of just returning the output value. The shortcodes are now rendering properly in the tab, but the layout is broken as expected. You should avoid using the post content shortcode anywhere else other than the builder itself.

    Best regards,
    Ismael

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