Add 32×32 icon to custom post type index page

I’ve setup an “album” custom post type and want to add an icon on the index page where the RED circle is (see image below; from wptheming.com). Here’s my function to replace the icon. The CSS is what I found when I inspected the icon element with firebug: add_action(‘admin_head’, ‘album_foo’); function album_foo() { global $post_type; … Read more

WordPress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?

If I use on my WordPress 4.0 the beautiful playlist shortcode I don’t see the famous “Next” and “Prev” icons, but only this code in my Html code: <div class=”wp-playlist-next”></div> and <div class=”wp-playlist-prev”></div> How to display icons to next and prev commands? 2 Answers 2 in stylesheet: .wp-playlist-prev{ width:20px; height:20px; background-image: url(“./theme_images_folder/something_icon.png”); } same for … Read more

How can I use a different default admin menu icon for custom post type?

For a particular custom post type I’m setting, I simply want to change the default icon to the wordpress pages icon (menu-icon-page). I know I could upload my own pages icon and point to it, but can I just tell wordpress to use the default pages icon? Here’s what I’m using register_post_type( ‘intranet-pages’, // creates … Read more

Remove apple-touch-icon link generated by WordPress

I am adding Favicons and Icons to my site manually in a more proper way than what WordPress adds by default. My WordPress is generating the below 4 lines of code automatically. <link rel=”icon” href=”http://example.com/wp-content/uploads/sites/3/2015/09/cropped-group_logo-32×32.png” sizes=”32×32″> <link rel=”icon” href=”http://example.com/wp-content/uploads/sites/3/2015/09/cropped-group_logo-192×192.png” sizes=”192×192″> <link rel=”apple-touch-icon-precomposed” href=”http://example.com/wp-content/uploads/sites/3/2015/09/cropped-group_logo-180×180.png”> <meta name=”msapplication-TileImage” content=”http://example.com/wp-content/uploads/sites/3/2015/09/cropped-group_logo-270×270.png”> I tried a lot but could not figure out … Read more

Extending Genericons in WordPress

With wordpress 4+, is it possible to create our own genericons and add them to the existing list that is bundled with WordPress? I know exactly what I want, which I can design in illustrator, but the default icons with the CMS don’t come close to it. If so, is there a tutorial online? I’d … Read more