WordPress.org

Ready to get started?Download WordPress

Forums

Multiple content blocks
Exclude from Custom Post Type (2 posts)

  1. subexpression
    Member
    Posted 6 months ago #

    I successfully implemented MCB on pages, but would like to exclude from WP posts and Custom Post Types.

    Is there a quick way to remove them from the CPT editor view?
    When I load the editor, I get the HTTP 'wp_remote_get' warning reported in other threads.

    If I could hide that warning without any problems, I would be grateful.

    BTW: It's a great plugin and does exactly what I need for complex layouts with "data islands" interspersed throughout the page structure. I just need to exclude the plugin from my CPT and suppress the warning.

    http://wordpress.org/plugins/multiple-content-blocks/

  2. Harold Angenent
    Member
    Plugin Author

    Posted 6 months ago #

    You can try going to Settings > Multiple content blocks and disable HTTP requests. This will require you to manually visit a page (or post or CPT) to initialize which blocks there are on a page.

    Whenever MCB is not used in a certain template, it should be hidden automatically. So if you use another template for a post type (which does not have the_block in it, this should work.

Reply

You must log in to post.

About this Plugin

About this Topic