Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Tommaso Vietina
Added: Feb 26, 2019 4:20 PM
Views: 32
Tags: no tags
  1. add_action( 'wp_enqueue_scripts', 'font_awesome', 100);
  2. function font_awesome() {
  3.         wp_enqueue_style( 'font-awesome', get_theme_file_uri('/bower_components/components-font-awesome/css/solid.css'));
  4.         wp_enqueue_style( 'font-awesome', get_theme_file_uri('/bower_components/components-font-awesome/css/regular.css'));
  5.         wp_enqueue_style( 'font-awesome', get_theme_file_uri('/bower_components/components-font-awesome/css/fontawesome-all.css'));
  6. }