Viewing 1 replies (of 1 total)
  • Hello, manilLons.

    I was also looking for an answer to this and came up with this code:

    // Change CUSTOM_TYPE for your own custom type.
    function custom_yak_meta_box() {
            add_meta_box('yak','YAK Product Details','yak_editproduct','CUSTOM_TYPE','advanced'); // !!!
    } 
    
    // Remove yak box from posts and pages
    function remove_yak_meta_box() {
        remove_meta_box('yak','post','advanced');
        remove_meta_box('yak','page','advanced');
    } 
    
    add_action('admin_menu', 'remove_yak_meta_box');
    add_action('admin_menu', 'custom_yak_meta_box');

    I couldn’t find the entire source of this code, just what I found in the yak forum.

    Hope this helps (it did to me!)

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: YAK for WordPress] Yak and portfolio custom post type’ is closed to new replies.