Force posts with certain cat to be first
-
Hi all
Currently I have a category page listing all posts within that particular category.
How would I force posts within that category, but that have another particular category assigned to them to display first without hard-coding the original category (and pref with additional markup around it so I can style it differently)?
So in English it would be:
Display posts within category “Ad” and “Premium” order by category and post_date.
But without hardcoding the category “Ad” so that this works within other categories.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Force posts with certain cat to be first’ is closed to new replies.