Title: Private Records
Last modified: August 30, 2016

---

# Private Records

 *  [nmgwp](https://wordpress.org/support/users/nmgwp/)
 * (@nmgwp)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/private-records/)
 * Is there a way to privatize a record so that even with the [pdb_list] shortcode,
   they will not show? Is it also possible to privatize certain fields of a certain
   profile (i.e. John Johnson does does not want anyone to see his phone number)
   so with the [pdb_single] shortcode, those fields for that certain profile?
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/private-records/#post-6430215)
 * It is relatively easy to hide records, there is already something like that set
   up as “approved” records, where a record is only shown if it is approved. You
   would simply do something similar, just the opposite.
 * Set up a checkbox field named “private” or whatever you want. Give it a single
   value “yes” and no default value. This means that a record will only have a “
   yes” if the checkbox is ticked. Then in your list shortcode, exclue all records
   that have a yes value in that field:
 * [pdb_list filter=”private!yes”]
 * Now your second question is more complicated because you’ll need to create a 
   [custom template](http://xnau.com/work/wordpress-plugins/participants-database/pdb-templates/)
   that shows or doesn’t show the phone number based on the user’s preference. You’ll
   need some coding knowledge to make that happen.

Viewing 1 replies (of 1 total)

The topic ‘Private Records’ is closed to new replies.

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

## Tags

 * [private](https://wordpress.org/support/topic-tag/private/)
 * [record](https://wordpress.org/support/topic-tag/record/)

 * 1 reply
 * 2 participants
 * Last reply from: [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/private-records/#post-6430215)
 * Status: not resolved