Skip to content

Instantly share code, notes, and snippets.

@davebonds
Created May 1, 2014 02:25
Show Gist options
  • Save davebonds/7abb573ae5d7877af93c to your computer and use it in GitHub Desktop.
Save davebonds/7abb573ae5d7877af93c to your computer and use it in GitHub Desktop.
This file adds the AgentPress Listing single template to any Agent Evolution theme
<?php
/**
* This file adds the AgentPress Listing single template to any Agent Evolution theme
*/
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
remove_action( 'genesis_after_entry', 'genesis_do_author_box_single' );
// Uncomment the following line enable comments on listings
// remove_action( 'genesis_after_entry', 'genesis_get_comments_template' );
genesis();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment