I need a sample CMB2 Please
-
Hi, first I want to say thank you very much for the great plugin (cmb2). I love this plugin so much.
I use Checkbox type in my admin “theme option” page.
$cmb->add_field( array( 'name' => 'Display recent post in Homepage', 'desc' => 'Check the box if you want display recent post in Homepage.', 'id' => 'display_recent_post', 'type' => 'checkbox', ) );
But I don’t know how to use in my theme. I just nubie. Can you give me one sample how to use checkbox type, please!
Thank you
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘I need a sample CMB2 Please’ is closed to new replies.