Real estate website design by Town Press Media

Add Custom Fields To AgentPress Listings details to the AgentPress Property Listings Plugin isn’t the easiest tasks – as custom coding within the child theme functions.php file needs to be created.
Creating custom Taxonomies within the plugin actually doesn’t affect the listings any, instead, this is used for the searchability of the listings.

So how exactly do you add custom property listings taxonomies to the listing itself?

Within your functions.php file, you can add the following, extended version of property listings taxonomies displayed on the property listings itself. Here is a sample of the output.

Add custom fields to agentpress property listings plugin
Add custom fields to agentpress property listings plugin

 

  1. So Add Custom Fields To AgentPress Property Listings plugin?  Open Appearance > Theme Editor > Click on the functions.php file (Make sure your current theme is selected)

  2. Add the following code at the end:

// Agent Listing Functions addon Start by Town Press Media
// //* Filter the property details array
add_filter( ‘agentpress_property_details’, ‘agentpress_property_details_filter’ );
function agentpress_property_details_filter( $details ) {

$details[‘col1’] = array(
__( ‘Price:’, ‘agentpress’ ) => ‘_listing_price’,
__( ‘Address:’, ‘agentpress’ ) => ‘_listing_address’,
__( ‘City:’, ‘agentpress’ ) => ‘_listing_city’,
__( ‘State:’, ‘agentpress’ ) => ‘_listing_state’,
__( ‘ZIP:’, ‘agentpress’ ) => ‘_listing_zip’,
__( ‘MLS #:’, ‘agentpress’ ) => ‘_listing_mls’,
__( ‘Square Feet:’, ‘agentpress’ ) => ‘_listing_sqft’,
__( ‘Year Built:’, ‘agentpress’ ) => ‘_Year_Built’,
);
$details[‘col2’] = array(

__( ‘Bedrooms:’, ‘agentpress’ ) => ‘_listing_bedrooms’,
__( ‘Bathrooms:’, ‘agentpress’ ) => ‘_listing_bathrooms’,
__( ‘Garage:’, ‘agentpress’ ) => ‘_listing_basement’,
__( ‘Full Baths:’, ‘agentpress’ ) => ‘_Full_Baths’,
__( ‘Half Baths:’, ‘agentpress’ ) => ‘_Half_Baths’,
__( ‘Property Type:’, ‘agentpress’ ) => ‘_Property_Type’,
__( ‘Water Front:’, ‘agentpress’ ) => ‘_Water_Front’,
__( ‘Zoning:’, ‘agentpress’ ) => ‘_Zoning’,
__( ‘HOA Fees:’, ‘agentpress’ ) => ‘_HOA_Fees’,

);
return $details;
}
// Agent Listing Functions addon End by Town Press Media

if you need customization of your AgentPress listings for easier Agentpress Property Listings, contact Town Press Media.

 

 

Let Town Press Media brings your vision to life with stunning, results-driven website design or digital marketing.
Contact us today to start your project!

more insights

SEO Services Austin SEO Services

Town Press Media can increase the search engine rank and site traffic of any company. The expertise offered by its technical and copywriting staff enables Town Press Media to successfully meet the needs of companies with complex websites in competitive industries.

Read more >

Social Media Marketing Austin

We provide a range of high-value social media consultancy services from content creation to full management through which we help you to achieve tangible results from their social media activities.

Read more >

Pay Per Click Metrics

To practically gauge the success or failure of a pay per click account, advertisers need to understand certain metrics and what they mean. Here is a simplified account on pay

Read more >