• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

List Posts By Month & Year

This template displays a list of all posts by month and year in any Genesis child theme. Simply upload the file to your child themes root directory and select the Date Archives template from the drop down menu on any Page Edit screen.

Here’s an example of what the template produces with a very small amount of styling.

day-month-year

The code uses the big WP_Query class so you probably know it’s super flexible and offers a massive range of parameters to give you maximum control.

Date Format

You can use the WordPress General Settings to configure the date format or add your own custom date format like you see in the following screen shot:

date-format

No need to edit the template code to modify the date format.

Here’s the template for logged in members:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.