Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1070427

    I am using a landing page plugin with Enfold (mentioned in private content). The two are not playing well together so I’ve asked the developer of that plugin to create an extension that will make Avia Template Builder work with it. He agreed and made headway but now needs help. He has written directly on the Enfold website but has not gotten any response.

    Either your developer can respond to this thread and I can relay it to him, or you can contact him directly….his contact info is in the private content.

    “I need some direct input from a developer who can help me finalize this. I am getting stuck when it comes to pulling the saved builder shortcode from a custom saved meta location. (I can catch the save and store the shortcode to a meta pair, but I am unable to replace the loaded shortcode with the saved metapair value)

    Most instances of get_posts_alb_content run through avia_builder_precompile filter in AviaBuilder class, but there’s a line below that doesn’t:

    $clean_data = $this->get_posts_alb_content( $post_ID );
    If we can get that into a filter I think I can successfully switch the shortcode located in post_content with the shortcode stored inside a postmeta pair.

    Then I’ll need to make sure the swap happens at render level too (frontend).

    If you can assist with that, then I can release an extension that will give our clients the ability to use the AviaBuilder with our splittesting features.

    Would love to hammer our a solution on Slack, or email.”

    #1071639

    Hey domainarchitect,

    Thank you for using Enfold.

    $clean_data = $this->get_posts_alb_content( $post_ID );
    

    That line is just an abstraction of this code.

    $clean_data =  get_post_meta( $post_id, '_aviaLayoutBuilderCleanData', true );
    

    That particular field (_aviaLayoutBuilderCleanData) contains the builder content or the actual shortcodes of the post.

    Best regards,
    Ismael

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