WordPress.org

Ready to get started?Download WordPress

Forums

WP_Query Yearly Pagination (1 post)

  1. Magzimus
    Member
    Posted 1 year ago #

    Hey Guys,

    iam developing a wordpress theme and currently iam creating a archive template.

    At first i wanted to get all the Posts of a Category of the current Year, that was easy ;)

    Now i want to ad a paging function for every year, for e.g.

    Page 1: Year 2012
    Page 2: Year 2011
    Page 3: Year 2011
    ..and so on!

    Does someone know how i can develop something like this? Maybe with a support for custom post types? Thanks a lot for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic