• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Remove Additional Features Text From AgentPress Property Details When Empty

The AgentPress Listings plugin adds a custom meta box for additional features which you can add to any single property listing like the following image displays:

additional-features

Thats fine if you have additional features to add to the listing but what if you don’t? The text for additional features still outputs on every single property listing like this:

additional-features-empty

The code in this tutorial, removes the additional features text only when empty like this:

remove-additional-features

Demo Video

There’s several ways to remove this text included in this tutorial for members.

Here’s the code:

Register for full access

Related Tutorials

  • Modify AgentPress Listings Plugin Property Details Class For The Shortcode Function
  • Modify AgentPress Listings Property Details Meta Box
  • Prevent Empty Property Details Fields From Being Printed In AgentPress Listings

AgentPress Pro Theme

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems