All Questions
4
questions
7
votes
4
answers
3k
views
Random sort within an already sorted query
I have a working query which returns a set of custom posts which are ordered by their package ID (ASC). For a query with 9 results this may return for example:
4 posts (Post ID's 1,2,3,4) with ...
0
votes
1
answer
76
views
Sort / Filter Queries
I'm working on a website, that showcases products, and now I'm working on the query part. Basically I want to have one page, that displays a list of products as a normal query, and then on top of the ...
2
votes
0
answers
78
views
Sorting posts alphabetical that have single digits
I have post titles that are like this:
Episode 1
Episode 2
Episode 6
Episode 10
Episode 14
I try to list posts alphabetically but it ends up showing like this:
Episode 1
Episode 10
Episode 14
...
1
vote
1
answer
6k
views
Sorting posts according to view counts not working
I use the code snippet below to get views count of each post on my sidebar.php .
everything works but the sorting does not.
also it does not get 4 posts, it only shows 1 post although I've written '...