hello, i need to put a filter in the lopper based on the category present in the url. Unfortunately the query builder in the taxonomies entries does not accept {{dc:term:slug}} and the the wp_query does not accept category_name={{dc:term:slug}}. How can I fix? some advice?
I add that I don’t understand why I can’t find the list of categories. I would like to display two rows with only specific categories in a single layout
Hey @ICTn,
Let’s leave out the Taxonomies (Specific) condition for a moment as that could be a bug.
To show or exclude an element based on Term,
-
use the String Condition

-
Test for the URL Segment and set the Index to 1. The Index Number is the portion of the URL.

-
In the Condition, set the URL Segment Dynamic Content and the value you want to test.
Hope that helps.
1 Like
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.




