Tell us what you are trying to do?
I have set up a view with a number of around 80 people listed randomly on a wp view site.
I have set up a <select>-filter to show these people in their designated category.
In this filter menu i have chosen these settings:
[wpv-control-post-taxonomy taxonomy="teilprojekt" type="select" orderby="id" url_param="wpv-teilprojekt" default_label="Select category" ]
So what i expect is that the randomly "entry" display would change to a given order (orderby="id" , orderby="slug", orderby="name" etc.)
Instead what the filter result is doing: the result is again listed in a random order. The orderby… selection is ignored.
How can i "force" the view to display the filtered result in my chosen listing way?
What is the link to your site?
Since the page is not released yet i would give you the link in a private message if this is possible?
The setup is very basic.
I hope, i could clrearify my issue: please do not hesitate to contact me if you need more info.
Thanks so much in advance for your help and besrt regards,
Rasmus
Hi Rasmus,
Thank you for contacting us and I'd be happy to assist.
The 'orderby' attribute value that we pass through the "wpv-control-post-taxonomy" shortcode has no effect on the order of the view's results.
The shortcode "wpv-control-post-taxonomy" is added for the taxonomy search field in the view. This "orderby" attribute only controls the order in which the relevant taxonomy terms are shown in that search field.
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-control-post-taxonomy )
If you'd like to give visitors ability to change the order/sorting of results from the front-end, you can add the sorting controls in the view, as explained here:
https://toolset.com/documentation/legacy-features/views-plugin/allowing-visitors-to-sort-the-front-end-results/
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
My issue is resolved now. Thank you!