• HI,
    I can not disable the comments in the page/post edit section?
    The metabox is not available.
    But on the test site it appears?

    • This topic was modified 6 years, 7 months ago by gimmig.
Viewing 1 replies (of 1 total)
  • Thread Starter gimmig

    (@gimmig)

    So I found out, that the id for creating the metabox is allready taken by annother one…
    in the admin_menu.php it should not be “myplugin_sectionid”

    add_meta_box('myplugin_sectionid', 'Disable Wpdevart facebook comment',array($this,'generete_html_for_wpdevart_comment_box'), $post_type );

    But when I change it to a uniqe one, I get following error in the insertet box below:
    Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘generete_html_for_wpdevart_comment_box’ not found or invalid function name in…

    Any advice?

Viewing 1 replies (of 1 total)
  • The topic ‘metabox not showing’ is closed to new replies.