Font Awesome is a popular set of icons that can be added to your website

Font Awesome is a popular set of icons that can be added to your website. Adding ‘Font Awesome’ icons create a user friendly website that is visually appealing to your target audience. ‘Font Awesome’ icons are CSS fonts (not images) so it loads faster. Adding Font Awesome Icons to Your Website Manually I generally prefer to add Font Awesome icons to my WP site manually. You can load the Font Awesome CSS library by adding a little bit of code to your theme’s functions.php file (or a custom plugin file). Step : In your WordPress admin dashboard, click on the ‘Editor’ menu under ‘Appearance’. Step : Click on the ‘Theme Functions’ link on the right-hand side of the screen (functions.php). Step : Copy and paste the following code into the Theme’s functions.php file (you can add it to the bottom of that file) and then click ‘Update File’: add_action( 'wp_enqueue_scripts', 'tthq_add_custom_fa_css' ); function tthq_add_custom_fa_css() { wp_enqueue_style( 'custom-fa', 'https://use.fontawesome.com/releases/v5.0.6/css/all.css' ); } You can now use the HTML code to show the icons on your site. Below is an example:

fontawesome-icons

operator

Social Network


© gPaisa Online, All Rights Reserved.