recentpopularlog in

laurakalbag : icons   23

Hollow Icons
how hollow icons ultimately create cognitive fatigue by @aub
learna11y  usability  icons  hollow  cognitive 
may 2014 by laurakalbag
How to Add Custom Post Type Icons | WordPress Theming
// Styling for the custom post type icon
 
add_action( 'admin_head', 'wpt_portfolio_icons' );
 
function wpt_portfolio_icons() {
    ?>
    <style type="text/css" media="screen">
        #menu-posts-portfolio .wp-menu-image {
            background: url(<?php bloginfo('template_url') ?>/images/portfolio-icon.png) no-repeat 6px 6px !important;
        }
    #menu-posts-portfolio:hover .wp-menu-image, #menu-posts-portfolio.wp-has-current-submenu .wp-menu-image {
            background-position:6px -16px !important;
        }
    #icon-edit.icon32-posts-portfolio {background: url(<?php bloginfo('template_url') ?>/images/portfolio-32x32.png) no-repeat;}
    </style>
<?php }
customposttype  wordpress  icons  menuicons 
july 2011 by laurakalbag

Copy this bookmark:





to read