If you don’t want to rely on Jetpack for font awesome you need to have the CSS files loaded. Best way (in my opinion) to do this is via the CDN.
I use the following:
// Add font awesome & bootstrap
function awesome_css() {
wp_enqueue_style("fontawesome", 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
wp_enqueue_style("bootstrap3", 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css');
}
add_action( 'wp_enqueue_scripts', 'awesome_css' );
This goes into your functions.php file.
Then you have a few choices of how to add it. You can use the method you’ve referred to, or you can use the fontawesome cheat sheet
Refer to the examples on fontawesome for more info.
Related Posts:
- How to disable Jetpack modules such as Stats?
- Cannot activate Jetpack on my server
- Jetpack Infinite Scrolling For Multiple Columns On Same Page?
- Popular posts by view with Jetpack
- Gravatar Hovercards (Jetpack) jQuery error
- Jetpack – stats_get_csv period parameter
- Using stats_get_csv to return a list of popular posts by views with thumbnails
- How do I update the site URL used by Jetpack subscribe widget [closed]
- Isotope with Infinite Scroll
- Jetpack infinite scroll not working on Twenty Twelve [closed]
- Can’t connect to my WordPress website using Windows 8 app?
- What does this number represent in JetPack stats? [closed]
- I have a self hosted blog but now the WordPress.com stats plugin has stopped working
- jetpack suddendly stopped working [closed]
- Why I can’t modified jetpack default blank.jpg on og:image?
- How to remove WordPress’ Jetpack plugin completely? [duplicate]
- How do I remove quantcast from my sites?
- Customizing JetPack Publicize Sharing
- Jetpack infinite scroll not working on twentysixteen custom theme
- Change $content_width based on screen size (functions.php)
- Jetpack button location buffering [closed]
- Does Jetpack conflicts with load_template()?
- Hide Jetpack for Contributor [closed]
- How do i import email addresses into WordPress.com subscriptions? [closed]
- Hiding Jetpack Ads from users who are signed in?
- Jetpack Infinite Scroll – changing number of posts
- How to allow users to write jetpack custom post types? [closed]
- Missing Jetpack Contact Form button when running locally [closed]
- Why does Jetpack insert it’s script outside the tag?
- Updating shortlinks from staging [closed]
- Jetpack Publicize and Android
- How can I get the Jetpack Image plugin to open links in a new window? [closed]
- Infinite Scroll on Self-hosted WordPress [closed]
- How to remove Stats by jetpack dashboard widget?
- Publicize in Jetpack stopped working on Custom Post Type it works in Blog Posts
- Jetpack Top post widget (display post views)
- Unable to setup jetpack on my site
- Where does Jetpack store markdown?
- The plugin jetpack/jetpack.php has been deactivated due to an error: Plugin file does not exist
- Jetpack URL shortening, fixing after website URL change
- Infinite scroll function for Twenty Seventeen
- how to disable jetpack for non admins?
- Popular posts – based on pageviews
- Implementing backbone.js to retrieve category posts using JSON API
- Jetpack email sharing button to include image on email sent
- Is there a way to enable a Jetpack module via `functions.php`
- Pageview confusion [closed]
- Jetpack Infinite Scroll, Isotope and ImagesLoaded
- Force Jetpack to not use og:image tag for favicon / Site Icon [closed]
- Using Jetpack to track an Ajax powered blog [closed]
- Jetpack: Access visitor stats in templete
- Generate Sitemap after removing JetPack
- how to change default icon of custom plugin?
- How to tell if Jetpack’s Photon is active?
- How do I set up the defualt page icon for admin menu?
- Custom Loop and Infinite Scroll
- Programmatically Add Font-Awesome Icons to Category Widget
- Moving sharedaddy buttons (in Jetpack) to the top of a post?
- Customise Jetpack Publicize text
- Custom post metadata not appearing in public API
- Remove apple-touch-icon link generated by WordPress
- Jetpack Infinite scroll conflicting with theme’s pre_get_posts custom posts_per_page
- WordPress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?
- JetPack Infinite Scroll not working on custom theme
- API for Post Stats for Self-Hosted WordPress using JetPack [closed]
- How can a default site icon be set in customizer?
- Is it safe to delete uploaded photos if Photon (Jetpack) is activated?
- Icon font not working on subdomains of multisite
- How to show Home Page link in WordPress Menu and how to add an icon to this?
- Removing the main link to Jetpack from the menu
- Font awesome Icon HTML in widgets disappear on save
- Child Theme vs. Jetpack Editor
- stats_get_csv (WordPress Stats) to only display top posts (not pages)
- Removal of Jetpack OG Tags from old blog site
- Jetpack Infinite Scroll – Add more than 7 posts each time?
- how to get jetpack’s infinite scroll to work with woocommerce?
- Incorrect url for sharing blog on linkedin [closed]
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- How to Change custom post type Dashicon Color
- Jetpack CSS .screen-reader-text breaks mobile menu [closed]
- When someone likes an article on my blog, they are prompted to log in on WordPress.com [closed]
- Font Awesome Icons only squares
- Can wp_get_image_editor convert to icon?
- Sharing Buttons not Working – Sharing Settings [closed]
- JetPack comment threads are displaying above comment box? [closed]
- Shortcode not working in Jetpack Top Posts & Pages widget
- Placing Lock Icon on WooCommmerce “Place Order” Checkout Button (WordPress ‘ignoring’ Changes…)
- Swap SVG icons in child themes
- Jetpack Lazy load images fade in
- Where to place a svg chevron down in my custom walker?
- mydomain.com/wp-login redirects to wordpress.com/wp-login
- How do plugin updates work?
- How can I stop Jetpack mobile theme from using full size featured images?
- Can’t publish posts, Jetpack won’t connect, empty notification emails to my inbox [closed]
- I’m think I’ve found a bug with JetPack 1.7 [closed]
- How To Remove The Filter That Adds JetPack Related Content To Dom [closed]
- How to replace plugin icon?
- Footnotes with dynamic title attributes?
- Icon not shown in Dropdown menus in Twenty Seventeen Theme
- How to change mobile menu (toggle) icon in WordPress – Full Site Editing?