Hello @Daryl_Shaw,
The use of the dynamic content {{dc:url:param key=‘cat’ fallback='dc:param:cat_filter'}}
will work in 6.2.0 beta 2 which is great as what @Charlie mentioned. The only problem is that if your query becomes category_name={name}&cat=-ID
, you will have a conflict because WordPress cannot process that query. You can either have to return post items that belong to a category or display post items that do not belong to a particular category. With this query, it is no longer an issue with the theme or plugin. It is already between your query and how WordPress returns the query. It may even get into an infinite loop.
We would suggest that you decide what you want to display. If we go back and based the query in your original post which is this:
category_name={{dc:url:param key="cat" fallback={{dc:acf:user_field field="cat_default" user="1"}}}}&orderby={{dc:url:param key="order " fallback="rand"}}&posts_per_page=4
From what I understand in this query, you are trying to display post items that have a category name related to a particular user “1”. It got complicated because the current version does not allow nested dynamic content code. If you use the beta version and follow what @Charlie mentioned in his reply, that query should return something.
Thanks.