WordPress.org

Ready to get started?Download WordPress

Forums

removing metabox put from plugin in backend page (1 post)

  1. carlosgonca
    Member
    Posted 2 years ago #

    How can I remove a metabox put from a plugin like Types, for a example. I want that it only show if a page have some ID in backend and not in all pages. They donĀ“t do option to hide to some different pages, only posts by category. Can you help me? I tried

    remove_meta_box( 'normal-sortables' , 'page' , 'normal' ); // allow comments for pages
    remove_meta_box( 'distribuidores' , 'page' , 'normal' ); // allow comments for pages

    but no results, I think its only for default metaboxes(only to test if I can control it) after that I will have to create a if to show or hide this metabox.

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic