WordPress.org

Ready to get started?Download WordPress

Forums

Visual Subtitle
Filter to remove Visual Subtitle Meta Box? (4 posts)

  1. WebEndev
    Member
    Posted 2 years ago #

    Is there a filter to remove the Visual Subtitle metabx from the post editor?

    If so, will it work by post type?

    Thanks!

    http://wordpress.org/extend/plugins/visual-subtitle/

  2. Gary Jones
    Member
    Plugin Author

    Posted 2 years ago #

    If you don't want it viewable on the Edit Post screen (odd, as you then couldn't actually use it), then you can turn it off in the Screen Options, top right tab.

  3. WebEndev
    Member
    Posted 2 years ago #

    Hi Gary.
    There are certain post types that the subtitle doesn't apply well to.
    I realized that I can turn it off via screen options, but that won't help a user that doesn't know that...

  4. Travis Smith
    Member
    Posted 2 years ago #

    Hello Bruce,

    You can just remove the metabox based on which post types you want to remove.

    add_action( 'admin_init', 'wps_remove_visual', 15 );
    function wps_remove_visual() {
    	if ( class_exists( 'Visual_Subtitle' )
    		remove_meta_box( 'visual-subtitle', 'minfolio_portfolio', 'normal' );
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic