Title: Sorting posts
Last modified: August 21, 2016

---

# Sorting posts

 *  [joshua.justice](https://wordpress.org/support/users/joshuajustice/)
 * (@joshuajustice)
 * [13 years ago](https://wordpress.org/support/topic/sorting-posts-6/)
 * I want to have the main page have recent posts on it so users can see recent 
   posts (duh!) but then I have a menu along the top with headings. I want to sort
   the posts by category so that the users can go there to view a specific topic.
 * My website is [http://pensarantesdehablar.com/](http://pensarantesdehablar.com/)
 * Like the post I have there now, it only appears on the main page (as recent content)
   but I want it to appear on “vocabulario” so that users looking for that can find
   it.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/sorting-posts-6/#post-3712695)
 * I’m not sure what you;re asking for. Do you want items in your top menu that 
   link to specific category pages?
 *  Thread Starter [joshua.justice](https://wordpress.org/support/users/joshuajustice/)
 * (@joshuajustice)
 * [13 years ago](https://wordpress.org/support/topic/sorting-posts-6/#post-3712696)
 * Yes, but I also want those posts to appear on the main page as recent posts.
 * I want it to sort the posts into categories with the same name as the menu headings.
 * Sorry for not making it clear.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/sorting-posts-6/#post-3712868)
 * You can add category pages to your menu if you set up a [custom menu](http://codex.wordpress.org/WordPress_Menu_User_Guide).
   Displaying posts on the front page sorted by category is going to be a lot more
   difficult. You’d need to first grab all of the categories slugs or ids into an
   array and then create a [custom query](http://codex.wordpress.org/Function_Reference/WP_Query)
   that looped through the category array.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Sorting posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/sorting-posts-6/#post-3712868)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
