Use Brizy Template From Code
I need to display some dynamic content on a page that I pull in via AJAX that is linked to a shortcode. I'd like to be able to create a Brizy template for this content and then call that template from my AJAX code. Is this at all possible?
If so, could you point me to the relevant documentation or let me know the relevant hooks, etc?
thanks.
-
Hi Phill,
I'm afraid such a scenario has not been tested by us so I can't tell you if it's possible or not. Brizy Template can be applied to a WordPress post, WordPress page, or PODS so through ajax, you need to call the post or page that has a Brizy template applied. You do not call the template itself. Even so, I cannot guarantee that the content in Brizy will be displayed in these conditions. This should be tested.
0
Please sign in to leave a comment.
Comments
1 comment