show_on not working for multiple page templates
-
Hey there,
Firstly I love CMB and CMB2 and have been using them for ages, this is the first issue I’ve come up against.
I think I’m doing this right from looking at the docs.
Basically, I want to use the show_on to filter the CMB to show on just 2 templates…
‘show_on’ => array( ‘key’ => ‘page-template’, array( ‘value’ => array( ‘template-menu.php’, ‘template-about.php’ ) ) ),
This isn’t working, have I done something wrong? Or is it a bug?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘show_on not working for multiple page templates’ is closed to new replies.