- This topic has 1 reply, 2 voices, and was last updated 5 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Showing an ACF Field as a title on a result page
Tagged: acf
Hi,
I am using Astra, Elementor Pro, ACF and Ele Custom Skin. I created my loop with Ele Custom Skin and the product archive with Elementor Pro. I am using S&F pro for filtering my products based on ACF-fields. That is working perfekt.
My question:
My product archive has of course a page-title and additional a block-template with several content, both I want to make dynamic depending on the search results.
How can I do that, any solution without coding? And if not… is there a snippet available?
Thanks a lot.
Best wishes Birgit
I am not aware of a way to do this, especially in Elementor. It IS possible to fetch the filter settings using PHP, but, if you use Ajax, and the results come from an Elementor Posts widget, then I don’t know any way to update the page outside of that widget content (as your PHP would have to run inside that PHP).
You could trigger some JavaScript to after our Ajax has finished, using our sf:ajaxfinish trigger, but how you would use that to update other content on the page I do not know. It would likely involve some very complex JavaScript.