Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1228050

    Hi Team,

    I asked Stéphane Bouey from WFalang (Faboba Falang – translation for WP) to try and get WFalang working nicely with Enfold. He runs into some snags and asked me to forward this question:

    How can i replace the content of a shortcode with the value of an shortcode attibutes?
    the following filter /action doesn’t work.

    avf_in_shortcode_handler_prepare_start
    shortcode_atts_{$shortcode}
    do_shortcode_tag
    pre_do_shortcode_tag

    I need to replace the content before the shortcode_handler of the avia shortcode is called.
    Of course they can contact me directly if needed.
    Stéphane

    Can you help?
    Thanks in advance, as always, for your help, much appreciated.
    Rob

    Added remark:
    Stéphane just let me know that he managed to get it working with:
    with
    avf_in_shortcode_handler_prepare_content
    and
    shortcode_atts_{$shortcode}
    on textbloc, iconbox, button

    Added remark 2020-07-06:
    Stéphane has informed me that he is well on the way to getting Falang ready for Enfold and that it will be released soon.
    An answer to the above enquiry would be appreciated still, he mentioned in relation to repeatable items.

    • This topic was modified 4 years, 4 months ago by rob2701. Reason: Added info from Faboba developer 2020-07-06
    #1230218

    Hey Rob,

    Sorry for the delay. We are a bit confused about the question. What do you mean exactly by “content of a shortcode” and which “shortcode attributes”?

    In the template-builder.php file, there is a filter called “avia_builder_precompile”. Maybe you can use the filter to get the builder content or shortcodes and do your modifications before returning it to the template.

    Best regards,
    Ismael

    #1230227

    Hi Ismael,

    Thanks for getting back on this. I wish I could answer your question, but I am just passing the question on and don’t understand it well myself.
    Since the dev does not have an account on this support forum, is there a way that he can contact you directly on this? Or you him (details in private field)?
    If not, I will have to be the middle man.
    Thanks for the tip about the filter, I will first pass that on to Stéphane and see if that helps him to solve it.
    I will let you know.

    Cheers,
    Rob

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