![]() The icons are made by WordPress and also consumed by WordPress. It is the official cheat-sheet of Dashicons. This section will tell you where the cheatsheet is and how to use the icon fonts on the right.Ĭheat-sheet of these icon fonts can be found here. You might be searching for the cheat-sheet of WordPress dashicons. Enqueue the Dashicons on frontendĪdd_action( 'wp_enqueue_scripts', 'wg_load_dashicons_front_end' ) Īfter placing the code, you can use dashicon fonts on frontend easily. To use dashicons on the frontend, you have to place the following code in the functions.php file.Īdd this code to enqueue WordPress dashicons on frontend. ![]() Those who primarily develop WordPress themes or plugins use dashicons on their projects. These days many themes/plugin developer make use of icons to make the products better looking. Lets see how to make them available in WordPress front-end? Adding Dashicons on the front-end You don’t have to enqueue the dashicons if you are using it on the back-end because the dashicons in the WordPress administration section are loaded by default.īut if you want to use these default icons in your WordPress theme, you have to make them available. Let’s see how we can add them to the front-end and use them for the back-end. You can use them everywhere but not beyond the circle. WordPress dashicons can be consumed by theme and plugin developers also. ![]() But you can use a simple code to add dashicons to the front-end also.Įvery theme developer nowadays gives preference to use icons instead of images because icons load faster. Dashicons in WordPress were introduced in version 3.8.īy default, the dashicons are loaded on the back-end only. Dashicons are the built-in icon fonts in WordPress.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |