One of the issues I have with WordPress is knowing when (and when it is possible) to use the WordPress back end instead of coding my own solution from scratch. This question is based around this.
I'm attempting to set up the blog page for the site I'm working on. Most of the site is static pages, with the posts ideally being collected on a news page. I have the news page displaying the posts through the traditional set up (selecting the static front page, and selecting a page to be the blog page through the WordPress dashboard). With that done, I want to create a sidebar for the blog post (and all posts) that displays a list of years and months. Example sidebar:
August 2014 July 2014 June 2014 ... October 2013
This seems like something that would be built into WordPress, but I can't seem to find any information on it. So I ask you all, is this a built in function? If so, could you direct me towards a good starting point? If it is not, how would you suggest developing links to posts based off of a time stamp?
Apologies again for the low level question. I know just enough to get my hands dirty here, but I have a ways to go on the learning curve.
Dashboard -> Appearance -> Widgets
. You are looking forArchives
widget.register_sidebar( $args );
and then added the archive widget to the new sidebar. In the home.php file, I changed theget_sidebar()
call to include the new sidebar, and made a custom sidebar file.