Get back to Font Awesome
-
I need to use font awesome. Wp forge it used so far 5.5.1.7
What it is the right way?
I copied fontawesome files from folder 5.5.1.7 then I put in wpforge last version. Finally add this snippet in functions.php on my child theme.
//enqueues our locally supplied font awesome stylesheet function enqueue_our_required_stylesheets(){ wp_enqueue_style('font-awesome', get_stylesheet_directory_uri() . '/css/font-awesome.css'); } add_action('wp_enqueue_scripts','enqueue_our_required_stylesheets');
Don’t works
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get back to Font Awesome’ is closed to new replies.