This code enables you to add,remove or edit the default output generated by the page_archive.php file included in Genesis.
This file which is native to Genesis can be used via any Genesis child theme simply by selecting the Archive option from the drop down menu in the Page Attributes box on any Page Edit screen.
The archive outputs a sitemap which includes headings and a list of pages, archives and recent posts.
The filter includes the following functions you can remove, add to or modify:
wp_list_pages( 'title_li=&echo=0' ) ); wp_list_categories( 'sort_column=name&title_li=&echo=0' ) ); wp_list_authors( 'exclude_admin=0&optioncount=1&echo=0' ) ); wp_get_archives( 'type=monthly&echo=0' ) ); wp_get_archives( 'type=postbypost&limit=100&echo=0' ) );
Here’s the code you simply add to the end of your child themes functions file and modify to your liking:
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.