I have registered third party shortcode [autor_role] which holds string with post author's user role.
I would like to use the value of the shortcode in Query filter because I need to filter out all posts of users belonging to a certain user role.
I have tried to achieve this via View loop:
<wpv-loop>
[wpv-if evaluate=" '[autor_role]' != 'inzerentneaktivni' "]
It worked only partially - desired posts are not shown, but there are "gaps" in the final results displays. As you can see in the screenshot attached - final two li's are not rendered (correct) but the pagination is incorrect (two gaps before next result page continues). Therefore I think the solution might be to use Query filter. Is there any possibility to filter via the shortcode value?
Thanks for help in advance