• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

AgentPress – "Property Details" for UK! Please Help

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › AgentPress – "Property Details" for UK! Please Help

This topic is: resolved

Tagged: Agentpress

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 6 months ago by havsingh.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 10, 2013 at 4:38 am #50060
    havsingh
    Member

    Hi all,

    There was another thread about this, but i am not sure if it was resolved in there, and I am asking for something for a bit more specific.

    The current AgentPress theme is designed for the US. I am based in the UK, so a few things like below need to be changed. How would I do this?

    "State" > "County"
    "Zip" > "Postcode"
    "MLS" > "Ref Number"

    I would also like to get rid of "Square Feet" and "Basement" appearing in my listings.

    Any help on where I find these fields would be greatly appreciated.

    Thank you in advance 🙂

    http://appletonestates.co.uk/listings/wilbury-avenue-sutton-sm2/
    July 10, 2013 at 8:17 am #50098
    havsingh
    Member

    ok, solved, its in the manual.

    July 10, 2013 at 8:18 am #50099
    Stewart
    Member

    Hi,

    What you will need to do is change a few lines of code in your functions.php file.

    Open the functions.php and look for the following on around line 67:

    /**
     * Filter the property details array.
     *
     */
    function agentpress_property_details_filter( $details ) {
    	
    	$details['col1'] = array( 
    	    __( 'Price:', 'apl' ) => '_listing_price', 
    	    __( 'Address:', 'apl' ) => '_listing_address', 
    	    __( 'City:', 'apl' ) => '_listing_city', 
    	    __( 'State:', 'apl' ) => '_listing_state', 
    	    __( 'Zip:', 'apl' ) => '_listing_zip' 
    	);
    	$details['col2'] = array( 
    	    __( 'MLS #:', 'apl' ) => '_listing_mls', 
    	    __( 'Square Feet:', 'apl' ) => '_listing_sqft', 
    	    __( 'Bedrooms:', 'apl' ) => '_listing_bedrooms', 
    	    __( 'Bathrooms:', 'apl' ) => '_listing_bathrooms', 
    	    __( 'Basement:', 'apl' ) => '_listing_basement' 
    	);
    	
    	return $details;
    	
    }
    

    Now you can change it to something like this:

    /**
     * Filter the property details array.
     *
     */
    function agentpress_property_details_filter( $details ) {
    	
    	$details['col1'] = array( 
    	    __( 'Price:', 'apl' ) => '_listing_price', 
    	    __( 'Address:', 'apl' ) => '_listing_address', 
    	    __( 'City:', 'apl' ) => '_listing_city', 
    	    __( 'County:', 'apl' ) => '_listing_state', 
    	    __( 'Postcode:', 'apl' ) => '_listing_zip' 
    	);
    	$details['col2'] = array( 
    	    __( 'Ref Number #:', 'apl' ) => '_listing_mls', 
    	   // __( 'Square Feet:', 'apl' ) => '_listing_sqft', 
    	    __( 'Bedrooms:', 'apl' ) => '_listing_bedrooms', 
    	    __( 'Bathrooms:', 'apl' ) => '_listing_bathrooms' 
    	   // __( 'Basement:', 'apl' ) => '_listing_basement' 
    	);
    	
    	return $details;
    	
    }
    

    To change any of the others just change the wording example:

    __( 'City:', 'apl' )

    to

    __( 'Town:', 'apl' )

    Hope this helps
    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    July 12, 2013 at 6:46 am #50349
    havsingh
    Member

    Thank you Stewart 🙂

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘AgentPress – "Property Details" for UK! Please Help’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble