You have 2 ways.
First is to write custom SQL query manualy for your request and loop that data.
Second is to loop your data on standard way, save in multidimensional array, filter, transform and reorder that array via PHP how you need and after that loop that data and print like content.
Booth ways are good but my recommendation is to write SQL query because is faster and cleaner.
Like I know WP don’t have a done solution. You need to build by own.
You need to build custom template for that special category and do that there.
Related Posts:
- Different post sort order within different categories
- How to choose a sort order (for posts) per category? (ideally when creating a new category)
- How to sort posts alphabetically based on a specific parent category
- How to Change Order of Posts in Admin?
- Setting Custom Sort Order of Posts within a Category
- Query posts from current year
- Display posts in alphabetical order for a particular category
- How to sort posts inside categories
- how to get post order by post id wp_query?
- Sort by last word in title
- How to list post as buch of category, and all of them
- Sort Posts Alphabetically Based on Specific Category (Divi)
- How to get the number of posts in a selected category?
- Sort posts by popularity/page views
- Show related posts by category but ignore one category
- Add custom field to all posts in specific category
- Single.php Active Category Class
- Most efficient way to list all categories and display a post for each of them?
- prevent showing posts of an specific category in admin posts section
- Auto set Post to Specific Categories
- New blog template to display only one category
- WordPress menu that shows all posts in a certain category like w3schools
- Filter Posts by Excluding Categories
- How can I list random authors from current post category?
- How do I render all posts of the same category in same layout?
- How to limit displayed posts on wordpress
- WordPress list posts from sub categories
- Select a random post from a specific category?
- How to filter posts that belong to a specific category only if that is the only category
- Category List (Archive) Page Template By Category
- List posts in a given category
- Why orderby=”date” does not support manually changed posts?
- Child_of not displaying all children posts.. via get_posts
- post categories
- How can i limit the number of posts created per category?
- Pulling in post category and children within category
- Get Posts Under Custom Taxonomy
- Prevent additional top level categories but allow more children
- How do I stop the loop from repeating in my category template?
- Excluding posts not working
- Limit the number of posts a category can have – newest post goes in, oldest one drops out, possible? plugin?
- Remove current category from post but display all others
- store posts_id of category into a varable?
- How do I show posts from another wordpress installation?
- How do I include the category next to the title of a post?
- How to show a custom taxonomy in the theme?
- How to import nested categories from XML file?
- Display a mixed list of posts and media
- Migrate posts from category and sub-category via SQL
- Posts Missing in Dashboard after update
- Display post number by category
- How to get post with slug and exclude categories
- Retrieving posts by their date and category
- Are post, page and category IDs unique to each other?
- Static pages not working
- Sort All Posts by Category Name in the Admin Panel?
- WordPress displays post on subcategory only
- Sidebar limiting to 10 posts?
- Natural sort / ordering wp_dropdown_categories
- How can I add a page that shows posts from a single category?
- Categories Listing and Highlighting current category item
- Display hierarchical categories/sub-categories for a single post only
- Can I show category name in url for only one of my categories?
- Author post count in category
- Current post categories and subcatecories outside of the loop
- Query prints posts without specific categories
- Why do I have categories with duplicate slugs?
- Automatic Table of contents with categories and posts
- Ajaxify Post Sort
- How to sort custom post’s category by id from the theme’s function.php?
- post categories – how to show only categories with a specific parent id
- Creating a “category” of featured posts
- Is it possible to remove actual post pages in wordpress but keep them in categories
- Need help with hiding an image within a post in a category
- WordPress not showing recent posts
- How to get post count including nested categories
- How to filter out post from a category not its subcategory in wordpress dashboard
- How can I display a specific number of post in a category via a url
- how to chang preview of list of articles of one category?
- Post of a specific category – not to be seen in paging previous/next post
- How to show main category related to that post
- Query category-specific, paginated posts and allow viewer to change sort order
- Display selected category on post page
- Sorting Posts by Date – get_blogs_of_user_id()
- Sort post by category using HTML Select tag
- Make assigning post to a specific category equivalent to assigning it to all categories
- How to use in_category?
- About number of posts in selected category
- How to get alphabetic listing x other posts, based on first letter post?
- Add default content to post (for specific category)
- Sort by category and then date?
- Category page shows “No Posts” but I do have two assigned
- Exclude a ‘portfolio’ custom category?
- ‘get_previous_post’ in same category returning (!empty) when no previous post in category exists
- excerpt in template for specific page
- Only show posts belonging to multiple cateogries at same time
- Wrap posts from a category in HTML
- Filter/Sort Post Form On Taxonomy page
- Error counting posts of category
- WordPress converting ‘ to ’ and – to –?