Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi anancuras
    here when i hit your given url i can see all items have all fields.

    Regards
    Vijay Lathiya

    Thread Starter anancuras

    (@anancuras)

    Hi,

    i put a screen to be more clear

    https://onedrive.live.com/redir?resid=1E60DA11C2E92781!395&authkey=!ACulvuk15BZ4_EA&v=3&ithint=photo%2cjpg

    even if both objects have all the fields filled in, one shows the city, but the other not.

    Best regards.

    Plugin Support Nick C

    (@modernnerd)

    Hi, anancuras.

    Are you using a caching plugin or service? It would be worth clearing all server-side caches first if so.

    If that doesn’t solve this, have you edited the plugin or theme files themselves? If so, you could:

    1. Take a full site backup.
    2. Temporarily revert to the default versions of the plugin and theme.

    If the city field comes back on all posts in search results after reverting any changes you made, that suggests an edit to the plugin or theme has caused this.

    If you’re currently editing the plugin directly, you could instead alter the labels using this method in your theme’s functions.php file:

    add_filter( 'agentpress_property_details', 'custom_agentpress_property_details_filter' );
    
    // Replace labels such as "ZIP" with "Postcode"
    function custom_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;
    }

    If you’re already doing that or need more help with this, please feel free to ask.

    Thread Starter anancuras

    (@anancuras)

    Hi,

    i finally found the problem, i had changed the field only in function.php, but I had to do so in the “archive-listing.php” in the theme folder and in the “class-featured widget.php” in plugin folder.

    Thanks for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I lost some property details when i see the listing page’ is closed to new replies.