Skip to content

Instantly share code, notes, and snippets.

@gspice
Last active August 29, 2015 14:08
Show Gist options
  • Save gspice/b65d445348a314bcf0e1 to your computer and use it in GitHub Desktop.
Save gspice/b65d445348a314bcf0e1 to your computer and use it in GitHub Desktop.
Simple template to show AgentPress Listings search results after changes to WP 4.0 made it default to search.php
<?php
/**
* This file adds an AgentPress Listings custom post type archive template to the Winning Agent Pro Theme.
*
* @author Ginger Coolidge
* @package Winning Agent Pro
* @subpackage Customizations
*/
genesis();
// Force full width content layout for any archive page template
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment