Sticky Posts & Sortby Custom fields
I found out that i can sort my posts using
before the loop
but i’m in need to put sticky posts on top (for some reason if i sort them the sticky one’s are sorted too)
so i thought that adding:
would do the trick, but it’s not true …
Now i’m thinking about customizing the query a little harder so i can put two sort parameters, or something a-like
Or doing two loop one done only of stikies and one without stikies and sorted …
But after hours of reading i’m here to ask if someone can help me telling his idea …
And also because i think this is a bad beaviour and i think that fallback sort criteria should be added, so we can use something like
so if two or more posts have custom field custom1 equal, the custom2 is compared and so on
Sry for my bad english, greetings from italy
Sorry, you are in the wrong forum. This forum is for those hosted here on the wordpress.COM free hosting service and we cannot do sorts or custom fields or anything like that.
You need to head over to http://wordpress.ORG/support/ which is where the self-hosted version of wordpress is supported.
Argh i’m sorry i thought this was a sort of mirror !
The topic ‘Sticky Posts & Sortby Custom fields’ is closed to new replies.