=== Genesis Agent Profiles === Contributors: agentevolution Tags: real estate, agent directory, agentpress, genesis, genesiswp, agent Requires at least: 3.2 Tested up to: 3.9 Stable tag: 1.1 This plugin creates a real estate agent directory for Genesis child themes. == Description == The Genesis Agent Profiles plugin uses custom post types and templates to create a real estate agent directory for Genesis child themes. Includes sidebar widget to display a featured agent. **New!** Now integrates with AgentPress Listings plugin to display agent's listings on each agent page, and display the listing agent on single listings. See the [Installation](http://wordpress.org/plugins/genesis-agent-profiles/installation/) tab for more info. == Installation == 1. Upload the entire `genesis-agent-profiles` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Start entering agents into the agent directory. = Optional configuration = The following steps will allow you to connect your Agent Profiles to listings added using the AgentPress Listings plugin. 1. Install and activate the [Posts 2 Posts plugin](http://wordpress.org/plugins/posts-to-posts/). Also make sure the [AgentPress Listings plugin](http://wordpress.org/plugins/agentpress-listings/) is installed, activated, and listings exist. 2. Once activated each listing and each agent profile will have a "Connected..." sidebar widget on the Edit screen. Use this to connect them by clicking the plus sign next to each post you want to connect to the current post. This is reciprocal and only has to be done on one of the two post types. 3. Single Agent Profiles will automatically display connected listings. 4. The plugin includes a single-listing.php template that will be used if no single-listing.php exists in the child theme. If your theme already includes a single-listing.php template, to display connected agents on single listings, you must do one of two things: = Option 1 = 1. Delete the single-listing.php in your child theme and the plugin's template will be used instead. = Option 2 = 2. Edit your child theme's single-listing.php and include this code to display connected agents: `add_action( 'genesis_after_entry', 'aeprofiles_show_connected_agent' ); function aeprofiles_show_connected_agent() { if (function_exists('_p2p_init') && function_exists('agentpress_listings_init')) { echo'