I'm Wordpress newbie and despite of reading many articles, I'm able to put archive years to my main menu.
Menu contains pages and I need to add an archive.
My current menu:
- Home (page)
- About (page)
- News (Category)
- Contact (page)
And I need
- Home (page)
- About (page)
- News (Category) - link to the newest year (2015)
- - 2015 (not category, just year when posts were added)
- - 2014
- - 2013
- Contact (page)
When I removed the last one category from year 2014, this year should disappear from my navigation.
When I add new post in January 2016, automatically year 2016 will appear in my dropdown, and 'News' will containt direct link to 2016
.
Any idea how to do it?
PS. I really read many articles and see the WP first time (I'm a programmer). I'm able to do it using many ways, but looking for the best one, looking the best wordpress approach.
Thanks.