Tagged: custom archive page
I want to have a page that shows the 10 latest posts of a particular category and below it has a menu where the user can select the year whose posts they want to see. The year links should open to archive pages which have the 10 latest posts of a particular category of that year and the menu with options to select the year should be there also.
Please suggest how this can be implemented. I am okay-ish editing code myself. Just point me in the right direction. Thanks.
Hey architchandra,
Here are a few useful links
http://www.wpbeginner.com/wp-tutorials/how-to-create-an-archives-page-in-wordpress/
https://codex.wordpress.org/Function_Reference/wp_get_archives
https://codex.wordpress.org/Function_Reference/get_year_link
Let us know if you have any more questions.
Best regards,
Victoria