In the members-only forum, a user asked:
Is it possible to display a Custom Post Type archive page organised by Month with genesis ? as below – Jan post post post Feb post post March post post post etc , etcIn this tutorial, we shall create a template for
portfolioCPT's archive page and replace the default loop with a custom one to display the entries automatically organized by the published date in ascending or descending order. Ascending: Descending:
While the code has been tested in and written for Genesis Sample, it should work in any Genesis child theme with minor changes
Step 1Create a file named
archive-portfolio.phpin your child theme's images directory having the following code:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.