Hide plugins and comments in custom type

I created a custom post type in Wordpress as follow:

function magazine_custom_type() {

    $labels = array(
        'name'                => _x( 'Magazines Types', 'Post Type General Name', 'text_domain' ),
        'singular_name'       => _x( 'Magazine Type', 'Post Type Singular Name', 'text_domain' ),
        'menu_name'           => __( 'Revista', 'text_domain' ),
        'parent_item_colon'   => __( 'Revista padre:', 'text_domain' ),
        'all_items'           => __( 'Todos las revistas', 'text_domain' ),
        'view_item'           => __( 'Ver revista', 'text_domain' ),
        'add_new_item'        => __( 'Agregar revista', 'text_domain' ),
        'add_new'             => __( 'Agregar nuevo', 'text_domain' ),
        'edit_item'           => __( 'Modificar', 'text_domain' ),
        'update_item'         => __( 'Actualizar', 'text_domain' ),
        'search_items'        => __( 'Buscar', 'text_domain' ),
        'not_found'           => __( 'No encontrado', 'text_domain' ),
        'not_found_in_trash'  => __( 'No encontrado en la papelera', 'text_domain' ),
    );
    $args = array(
        'label'               => __( 'magazine_post_type', 'text_domain' ),
        'description'         => __( 'Magazine Post Type', 'text_domain' ),
        'labels'              => $labels,
        'supports'            => array( 'title', 'editor', 'excerpt', 'thumbnail', 'revisions', ),
        'taxonomies'          => array( 'post_tag' ),
        'hierarchical'        => false,
        'public'              => true,
        'show_ui'             => true,
        'show_in_menu'        => true,
        'show_in_nav_menus'   => true,
        'show_in_admin_bar'   => true,
        'menu_position'       => 5,
        'menu_icon'           => 'fa fa-thumb-tack',
        'can_export'          => true,
        'has_archive'         => true,
        'exclude_from_search' => false,
        'publicly_queryable'  => true,
        'capability_type'     => 'page',
    );
    register_post_type( 'magazine_post_type', $args );

}

// Hook into the 'init' action
add_action( 'init', 'magazine_custom_type', 0 );

I also created a single-magazine_custom_type that acts as a template for this post type but since it's a post type then some plugins are displayed there and also Facebook Comment box which I don't want. Is there any way to avoid this behavior?

Solutions

Thats the problem of the most plugins.

You only can check if the plugin provided settings or filter/hooks for that. Check out the readme.txt or check out the Plugin FAQ on wordpress.org

If you cant solve the problem, you must use an another plugin.

edit Check out if your plugin hooks the_content, you can try to use print get_the_content()

Similar questions

Custom plugins/Manipulated plugins: Always a terrible idea to inherit these types of WP sites that discourage updates?
So I have been working on WP sites for a little bit now and I think I'm getting to the point where I'm starting to get to a wider range of clients with unique site builds. One site I was assigned to lately was a WP site that dealt with Automobile inventory and its biggest plugin really drove the sites functionality(a car inventory plugin). The site...
Shortcode plugins for own custom cms like wordpress shortcode plugins
I have created a custom CMS for my own and a plugin system that is working as I expected. Now I want to create plugins based on shortcodes, eg: [gallery attr1=100 attr2="string"] and [mycode title='message' color='#F00']Hello World![/mycode] I want to handle the above mentioned shortcodes in my CMS. Functions will replace shortcodes with HTML and g...
Displaying Posts Depending on Number of Comments and Latest Comments?
I would like to be able to display a list of posts on a page depending on when and how many comments they've got. Something similar to how it is here on stackexchange. To be more specific, I want: Help with this would be very appreciated, thanks in advance.
Wordpress comments and Facebook comments
I've just installed Wordpress for a travel blog. I want the visitors to be able to comment with their facebook account or sign up as a subscriber to the blog (my mom for example doesn't have facebook). I installed the "Facebook Comments for WordPress" plugin but the problem is that now the visitors can either comment at the Facebook comments or the...
How to restrict user to see his comments only and admin can see everyone comments?
i was trying to achieve this how can i restrict user to see his comments only along with admin replies and admin can see everyone comments? Any suggestion with code would be helpful as i am new to wordpress.
Displaying comments with a walker: how to distinguish between parent and child comments
I have defined a walker in function.php to display comments in a certain way. I use the following code: I've also enabled reacting to a comment (1 level deep). The problem is in the comment_count variable. Whenever somebody replies to a comment, the numbering for all comments below the reply shifts one number down. I'd like to prevent that from hap...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.