WordPress.org

Ready to get started?Download WordPress

Forums

MP6
[resolved] Custom post type icon (3 posts)

  1. lukodp
    Member
    Posted 1 year ago #

    I manually inserted cpt icon in wp-admin menu. Now after activating mp6 plugin, everything looks great but regular "pin" icon is above my manually inserted cpt icon.
    I inserted cpt icon through functions.php by attaching function on 'admin_head'.
    Any way to disable that "pin" icon?

    http://wordpress.org/extend/plugins/mp6/

  2. JonMasterson
    Member
    Posted 1 year ago #

    I believe adding this css to your admin will hide the pin...

    .icon16.icon-posts-<<your-post-type-name>>:before,
    #adminmenu #menu-posts-<<your-post-type-name>> div.wp-menu-image:before {
    	content: '';
    	display: none;
    }

    You could also use an icon font for your CPT. I created a small resource for using FontAwesome with MP6 on Github.

  3. lukodp
    Member
    Posted 11 months ago #

    Thanks, that did it! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic