Title: Hide empty fields
Last modified: September 1, 2016

---

# Hide empty fields

 *  [callerpatty](https://wordpress.org/support/users/callerpatty/)
 * (@callerpatty)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-fields-1/)
 * Love this plugin, but wondering if there is a way to automatically hide empty
   fields: if I allow link, title, phone, email, description for example, and there
   isn’t a phone entered, I don’t want to display an empty line, but want it to 
   get rid of that whitespace – right now it adds a blank line for each field whether
   there is something in there or not.
 * Being able to hide empty fields would make the display cleaner for link lists
   that might not have all fields filled in.
 * Thanks
 * [https://wordpress.org/plugins/link-library/](https://wordpress.org/plugins/link-library/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-fields-1/#post-7699411)
 * The thing about automatically hiding all of these fields is that in cases where
   users have HTML in the before and after fields, such as TD tags for table cells
   or any other kind of layout specific tags, their layout could break if the plugin
   does not output them when that field is left empty.
 * So I decided to go with a consistent output instead of the possibly cleaner output.
 * That being said, I just added a new option in a version that will come otu later
   this evening (5.9.13.1) to be able to not output empty fields. The option is 
   called ‘Do not output fields with no value’.
 * Please confirm that this works as desired after updating.

Viewing 1 replies (of 1 total)

The topic ‘Hide empty fields’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/hide-empty-fields-1/#post-7699411)
 * Status: not resolved