page_archive.php 332 B

123456789101112131415
  1. <?php
  2. /**
  3. * Template Name: Archive
  4. */
  5. remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
  6. add_action( 'genesis_entry_content', 'genesis_page_archive_content' );
  7. function genesis_page_archive_content() {
  8. $heading = ( genesis_a11y( 'headings' ) ? 'h2' : 'h4' );
  9. genesis_sitemap( $heading );
  10. }
  11. genesis();