Create metaboxes based on custom post type
I am using Metabox to create metaboxes for Worpdress Post and it works like a charm. Now I have installed MetaBox Custom Post Type Extension for create CPT and it works good to. I have Types plugin installed for same purpose, create CPT so I can work either with Metabox or Types. I have created a CPT with slug publicity
and I want to add some Metaboxes only to that CPT. How I can achieve this? I know how to create the Metaboxes using the plugin I just don't know how to make a difference between Wordpress post and this custom post type, perhaps by adding some conditional at functions.php
and checking for post type slug and then including needed files but not sure and I need some push, any advice?
Topic plugin-types metabox plugins custom-post-types Wordpress
Category Web