Chaning the property Details fields.

Community Forums Forums General Discussion Chaning the property Details fields.

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18758

    prrenfro
    Participant
    Post count: 1

    Hello,

    I am trying to figure out how to change the property Detail fields. I want to remove some and add some. Any help would be much appreciated.

    #22062

    cehwitham
    Participant
    Post count: 396

    I presume you’re using AgentPress?

    Try the filter below in your functions.php file (you may need to change some of the fields):

    function agentpress_property_details_filter( $details ) {
    $details['col1'] = array(
    __( ‘Address:’, ‘apl’ ) => ‘_listing_address’,
    __( ‘City:’, ‘apl’ ) => ‘_listing_city’,
    __( ‘County:’, ‘apl’ ) => ‘_listing_county’,
    __( ‘Intersection:’, ‘apl’ ) => ‘_listing_intersection’,
    );
    $details['col2'] = array(
    __( ‘Traffic Counts:’, ‘apl’ ) => ‘_listing_traffic’,
    __( ‘Anchors:’, ‘apl’ ) => ‘_listing_anchor’,
    __( ‘Total Square Footage:’, ‘apl’ ) => ‘_listing_sqft’,
    );
    return $details;
    }


    Twitter: cehwitham Web: cehwitham.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.