• Resolved Deborah

    (@naoumsugden2)


    I write a travel blog and attach a Category foreach post in each destination. The posts sometimes span many weeks. For example, the first post for “Bhutan and India” is on August 10, 2011 and the last post is on December 10, 2011.

    If someone finds my website and clicks on the Category, in the sidebar widget, for “Bhutan and India” he gets send to the last post in the series, or December 10. If he wants to read the series from the start, he has to click on “older posts” over and over until he lands on the first post. This is cumbersome.

    I would like to change this so that when the Category is clicked, it will take a reader to the first post of the series. For the “Bhutan and India” example, this would be August 10.

    Is there any way to do this? (I am not a coder, but could handle simple changes.)

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    You can alter the ordering of posts in archives using pre_get_posts hook, an example can be seen here

    Or, you can use a plugin such as Toolset that lets you fully customise the archives, and also their ordering of posts. This would require no/less code.

    Thread Starter Deborah

    (@naoumsugden2)

    Thank you for the advice. I have loaded the plug-in “Post Order by Category” and it does what I want it to. It was so simple! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category and Dates of Posts’ is closed to new replies.