WordPress Native Dashicons Font for Development

In one of my earlier post, I showed how to use WordPress native “Dashicons” font at the Back-End or the admin panel. Today, in this post I will show how to use use the Dashicons for Front-End development. It’s fairly easy to implement. So, lets get started.

Copy the following snippet on the functions.php page of your current theme and update the page.

function ldashicons_front_end_support() { 
   wp_enqueue_style('dashicons'); }

Now. all you need to do now is to head towards the Dashicons’s Developer Resources page and start using the icon you desire with your CSS markups.

Today In History



Leave a Reply

Note: Convet HTML, PHP, JavaScripts from HTMLify, before posting from comment section.
License: By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution. Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.