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
- Convert posts that used the Markdown Block into Markdown in Classic Editor posts?
- Generate Sitemap after removing JetPack
- Disable emojicons introduced with WP 4.2
- Jetpack Running Locally [closed]
- How to run Jetpack from localhost? [closed]
- Get ‘page’ number with infinite scroll
- When would it make sense to use Jetpack?
- WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?
- how to change default icon of custom plugin?
- Replacing Icons in the Dashboard
- Slow REST API calls on self-hosted WordPress [closed]
- How to tell if Jetpack’s Photon is active?
- How do I set up the defualt page icon for admin menu?
- Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
- How to use a WordPress’ existing admin icon?
- Trying to get custom post meta through Jetpack JSON API [closed]
- Extending Genericons in WordPress
- Custom Loop and Infinite Scroll
- How can I make my Admin Icon SVG color correctly? [closed]
- Jetpack plugin (ShareDaddy): Prevent share buttons showing on custom post types?
- Programmatically Add Font-Awesome Icons to Category Widget
- Moving sharedaddy buttons (in Jetpack) to the top of a post?
- Update Failed: There has been a critical error on your website
- Add custom SVG icons to Social Icon MENU in WordPress Twenty Seventeen Child Theme
- Is there a way to fire other functions from wp_insert_post
- Why could I not change the icon of the default Add media button that I added into the toolbar of TinyMCE?
- Customise Jetpack Publicize text
- How to display an icon when a new post is published and then remove it when a specific time past?
- How to get Menu Navigation Labels to output HTML
- Jetpack plugin – ‘posts_per_page’ not overriding ‘Blog pages show at most’ option, also different values for different post types?
- Custom post metadata not appearing in public API
- Placeholders in Jetpack Contact Form [closed]
- Jetpack Blog Subscriptions on Multisite [closed]
- Remove apple-touch-icon link generated by WordPress
- Setting Login with User Name and Password default option for Jetpack Admin Login
- Jetpack infinite scroll render – make different depending on post type?
- Do I need to use a new WordPress.com account for each Jetpack installation
- Allow latex in wordpress excerpt
- How to add iOS & fav icons to the theme?
- Jetpack Infinite scroll conflicting with theme’s pre_get_posts custom posts_per_page
- Implications of changing wordpress.com associated with Jetpack [closed]
- How can I remove the new stats message? [closed]
- How can I use a different default admin menu icon for custom post type?
- How can I show the Jetpack Subscriptions form in a page? [closed]
- 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]
- Why Jetpack is missing the “Feedbacks” menu item? [closed]
- How do I get a list of popular posts by views?