SHARE US


Quick Links

Sign In

Lose something?

Enter Username or Email to reset.

Sign Up

Social Media Ninjitsu | Use Font Awesome With WordPress
Interested in a fun way to make your WordPress site’s design even
wordpress,webdevelopment,font
post-template-default single single-post postid-1001 single-format-standard full-width full-width cp_hero_hidden use-font-awesome-with-wordpress cp_header_absolute none cpcustomizer_off megamenu no-header no-header cp_breadcrumbs_visible unknown wpb-js-composer js-comp-ver-5.0 vc_responsive
Importing fontawesome into wordpress
  • kcat3000
  • March 2, 2017

Use Font Awesome with WordPress

Interested in a fun way to make your WordPress site’s design even more appealing? Font icons let you spice up your posts, pages, or menus by including eye-catching icons. And when it comes to font icons, Font Awesome is definitely one of the biggest names out there.

There are many ways to install FontAwesome. There are a number of plugins that can (almost but not quite) automatic ways to to the same thing. I prefer the manual method, because it’s not really much more work and then you don’t have to worry about a plugin potentially breaking down the road.

Go into your functions.php file under the theme folder and add this code somewhere on the file, recommended at the bottom.

<?php

function kn_load_fonts() {
wp_enqueue_style( ‘fontawesome-style’, ‘https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css’ );
}
add_action(‘wp_enqueue_scripts’, ‘kn_load_fonts’);

?>

References

How to Add Google Analytics Tracking Code to Your WordPress Site Without a Plugin


http://www.wpbeginner.com/beginners-guide/how-to-install-google-analytics-in-wordpress/

How to Add Google Analytics on your WordPress Site

wp_enqueue_style()

Post A Comment

shares