Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Load Font Awesome
add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' );
function enqueue_font_awesome() {
wp_enqueue_style( 'font-awesome', '//' );
<i class="fa fa-phone"></i> +91 1234567890
.fa-phone {
font-size: 25px;
vertical-align: middle;
padding-right: 5px;
.menu-primary li a:before {
font-family: FontAwesome;
padding-right: 7px;
/*font-style: normal;
font-weight: normal;
text-decoration: inherit;*/
/* Home menu item */
#menu-item-1616 a:before {
content: "\f015";
/* Pages menu item */
#menu-item-1413 a:before {
content: "\f0e8";
/* Categories menu item */
#menu-item-1414 a:before {
content: "\f15b";
#meta-3 .widget-title:before {
font-family: FontAwesome;
padding-right: 7px;
content: "\f05a";
font-style: normal;
font-weight: normal;
text-decoration: inherit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.