Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author braekling

    (@braekling)

    Hm, should be available there. I will check this again.

    Thread Starter figoware

    (@figoware)

    Hi,

    I’ve made a little of homework…

    In MetaBoxCustomVars.php, you use ‘custom_post_type’ for the add_meta_box() function.

    But it seems (WordPress codex) that the add_meta_box() function need the real name(s) of all specific custom post type(s).

    English codex is not very clear about it, but the french one is.
    Let me try to translate what is said into english :
    ‘custom_post_type’ where custom_post_type is the unique ID (or label) of the custom post type.

    So, I think it can’t work “as is”. A solution would be to add a dynamic checklist of customs posts types in WP-Piwik option page, and use what the user chacked when calling the add_meta_box() option. Not such an quick and easy change !

    Hope it is helping…

    Plugin Author braekling

    (@braekling)

    Ok, thank you. Your translation is very helpful, I will have a closer look at this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Metabox for Custom Post Type’ is closed to new replies.