Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Multiple Orderby Not Working

$
0
0

Replies: 0

I’m trying to set up a shortcode that uses two sets of fields for the order – the reference guide says this is possible but it’s not working.

Two fields we want to order by:

1. Radio button with options 1, 2 and 3
2. Date

This is what I’m using but it’s not outputting any posts. If I remove the orderbey_2 it works fine:

orderby=field key=positioning order=desc orderby_2=date order_2=desc


Viewing all articles
Browse latest Browse all 59525

Trending Articles