- This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by .
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.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy