There’s a new feature that slipped into the admin side of WordPress with the recently-released 3.8 – Dashicons! Very similar to Font Awesome, Dashicons give plugin developers a nice set of pre-made icons to use. The cool thing is that Dashicons come pre-loaded, and using them in your WordPress custom post types is as simple as adding a parameter to your register_post_type() function, like so:
// Register a new custom post type named "Portfolio" register_post_type('portfolio', array( 'public' => true, 'menu_icon'=> 'dashicons-portfolio', 'label' => __( 'Portfolio', 'local' ), );
Here’s a screengrab from our Lowrize plugin using Dashicons:
Pretty nifty, eh?!
More posts from themightymo.com
Today I had an issue where I needed to merge two folders, each of which contained many sub- and sub-sub folders that had lots of images. After a lot of trial-and-error and some Googling, I found the best solution is to use the “ditto” command in Terminal like this: That’s it! Hat tip to AppleInsider.
I wasted some time today to bring you (dum dum duuuuum!): Some Surprising Trends in Website Development!
I was recently asked to look into creating some secure http headers as well as forcing a website to load over TLS1.2+. Below are my “how to” instructions for updating these settings within WordPress and Cloudflare. Install & Configure the Cloudflare WordPress plugin. Make sure an SSL Certificate is installed on your host for your…