• joshua.justice

    (@joshuajustice)


    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/

    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

    (@esmi)

    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

    (@joshuajustice)

    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

    (@esmi)

    You can add category pages to your menu if you set up a custom menu. 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 that looped through the category array.

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

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