0

I have a custom post type called "Celeb". This CPT contains two Taxonomy terms as "Men" and "Women".Each Post has two metadata as "Name" and "Age".

enter image description here

Now I would Like to add a "Visibility" checkbox to WordPress CPanel to enable or disabe displaying the "Age" metadata on the page based on the Terms. For example I would like to Hide the Age for all post under the ONLY "Women" Taxonomy term when the checkbox has been checked or vice versa.Can you please let me know how I can do this?

Update:

enter image description here

enter image description here

Mona Coder
  • 6,212
  • 18
  • 66
  • 128

0 Answers0