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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Hide Empty Property Details Fields In AgentPress Pro

This tutorial contains the code which enables you to hide empty property details field in the AgentPress Pro child theme by StudioPress.

The AgentPress Listings plugin generates different custom fields on each single listings edit screen which are all printed regardless of whether they contain data or not as you can see in the following image:

before

You can see that all fields are output regardless of whether they are empty or contain a value.

The code in this tutorial only prints the fields which contain data as you can see in the following screen shot:

after

Register or login to access the file which contains the code:

Register for full access

Related Tutorials

  • Modify AgentPress Listings Plugin Property Details Class For The Shortcode Function
  • Remove Additional Features Text From AgentPress Property Details When Empty

AgentPress Pro Theme

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.