Changing WP Listings Archive & Widget Display Fields
-
We have a few customers that sell land and ranches and have the need for a featured listing tool but do not need the typical Beds, Baths and Sq Ft fields to display. Can you set these fields not to display without editing the plug-in class files (archive-listing.php, class-featured-listings-widget.php, single-listing.php. They really do not want these fields to show up.
<-CODE->
if ( ” != get_post_meta( $post->ID, ‘_listing_bedrooms’, true ) || ” != get_post_meta( $post->ID, ‘_listing_bathrooms’, true ) || ” != get_post_meta( $post->ID, ‘_listing_sqft’, true )) {
$loop .= sprintf( ‘<ul class=”listing-beds-baths-sqft”><li class=”beds”>%s<span>Beds</span> <li class=”baths”>%s<span>Baths</span> <li class=”sqft”>%s<span>Sq ft</span>‘, get_post_meta( $post->ID, ‘_listing_bedrooms’, true ), get_post_meta( $post->ID, ‘_listing_bathrooms’, true ), get_post_meta( $post->ID, ‘_listing_sqft’, true ) );
}
</-CODE->I am pretty sure I can customize these but if I do and the plug-in updates I believe it will wipe what has been customized?
Any way to hide these fields from within the WordPress control panel?
Thank you in advance for your help.
The topic ‘Changing WP Listings Archive & Widget Display Fields’ is closed to new replies.