- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by .
Hi, I'm triyng to hidden a field for a specific page template (page-home.php).
I copied the code at this page (https://metabox.io/docs/meta-box-conditional-logic/) to try an example.
I set: 'hidden' => array( 'page-template', 'page-home.php' ),
But it doesn't work. I continue to see the field in every page. Maybe I don't know the precise syntax.
Someone can help me? 🙂
- The topic ‘hidden field per page template’ is closed to new replies.