Show Section Based on URL

I’m looking to only show a Section on my page with the URL contains a particular paramter. Let’s say the mysite.com/page?fruit=apple will show an apple pie recipe section but mysite.com/page?fruit=strawberry will show the section with a strawberry pie recipe.

I’m trying to figure this out by applying conditions to the section using dynamic things like {{dc:term:url}} but I’m not getting it. Is this possible? Can’t find much in the docs.

Thanks!

Update: I dug through the forum for a while and found this:

{{dc:url:param key=“parameter” }}

So using the String condition, I can set it to {{dc:url:param key=“parameter” }} IS value

so, {{dc:url:param key=“partner” }} IS companya and that works!

Hello @aleminopuy,

Glad that you find the solution and I would like to thank you for sharing the information. Please feel free to reach us if you have any query regarding our theme and theme settings.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.