You should be using Font Awesome’s provided <link>
or <script>
tag(s) that they give you with your kit. It should look like this:
<link rel="stylesheet" href="https://kit.fontawesome.com/xxxxx.css" crossorigin="anonymous">
or if you prefer the JS method:
<script src="https://kit.fontawesome.com/xxxxxxx.js" crossorigin="anonymous"></script>
Copying and pasting the code from their CSS file to your local one isn’t advisable because there are relative links to Font Awesome custom fonts that can’t/won’t be included in your site’s files. (As @Alexander Holsgrove points out)
Related Posts:
- Is having multiple theme customizers for different pages possible?
- How to export/import theme customizer settings?
- reason of splitting theme files to multiple files
- How to get the registered sidebar’s name by its id?
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- One button to change all settings in theme customizer?
- The best way to customize “nav-menu-template.php” to add if the ‘link_before’ is “checkbox”
- Nice scroll to wordpress
- How to use SRCSET with get_the_post_thumbnail()?
- Design view breaking on Pages
- Use different javascript files for each page on website
- How to get custom image size for image uploaded in Customizer
- Passing array in add_option()
- Widgets not showing in my custom theme
- How to display recent posts on home page with custom HTML
- How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)
- Changing the template hierarchy
- Can’t load WP function into external function
- Set WordPress Default Template
- Customizer: Output default value in Customizer CSS
- WordPress does not load page.php, return 404.php
- Load a page into a div with Ajax
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Converting HTML Template to WordPress Theme
- adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again
- Customizer: active_callback and sanitize_callback incompatibility?
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- How do I link a button I created in theme customizer to a function?
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- What does this mean in wordpress? Easy question
- Syntax error when I try to insert my loop into an unordered list? [closed]
- Why am I getting a different filename? And how does WordPress load singular.php for both Page & Post? (Fresh WordPress installation)
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- Separation of presentation and code – WordPress
- WordPress Customizer Default Image
- Why in my theme I can’t see all the statics content under the posts?
- get_template_directory adding FTP root folders in urls
- How to add the sidebar to all the pages except the home page? [closed]
- Header not properly displaying on archive.php
- Save Custom CSS file in the upload folder dynamically?
- Warning: printf(): Too few arguments in helpers.php file
- home.php show blog posts as grid view
- How to Update an old theme for the latest wordpress version
- get_comments_number() returns 0
- Using php inside javascript [closed]
- How to correctly load a different version of main menu based on the user language in WordPress? Is it a good solution?
- Why in this WordPress theme I can’t see the Main Menu?
- How can I assign separate stylesheets to different pages?
- How to make sure relative URL works when site is not on root domain?
- Commas in Tag Cloud
- Wrap title and excerpt in a div (latest posts block)
- Displaying images outside the content
- WordPress redirects page query parameter in URL
- Dynamically switch file in get_template_directory_uri() | Function [closed]
- PHP inside echo HTML
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- Not able to remove caption shortcode from the content
- When I click for the redirect link it is showing the content of index.php instead of single_assignment_page.php
- How to use data URL in WordPress?
- Unable to retrieve get_author_posts_url
- Display post date also if the date it’s the same for each post
- Collapsible menu on post sidebar only expands and does not collapse
- WordPress child theme, creating a custom php template page
- Menu to the right of screen on desktop using Bootstrap 4
- Add Text Area To Child Theme’s Home Page
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- user update profile for custom code
- Use Custiomizer to setup meta theme color tag
- Rotating Header Images
- How to add thumbnails from recent posts to owl-carousel in wordpress automatically?
- Create a custom theme-specific page, invisible in the admin-panel?
- WP Knowledge Base Theme bug – Subcategories and Articles, Need to change WP_Query
- Image not displayed
- Gallery requires a featured image but does not show it in posts/pages
- Predefine Magazine Style Layouts
- How to store the_post_thumbnail() value in a variable
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- How do I add HTML to a PHP function [closed]
- WordPress automatically adding html tag around PHP code
- How do I get current page ID in WordPress customizer file?
- How to use my style.css file outside of wordpress subdomain?
- Populate editor with some content of a page with a page template
- Skt full width basic slideshow problem
- 404 error when I acess the second page of post-type
- get_template_part() not firing within a switch statement when template has new WP_Query
- How to call multiple functions from multiple files into a WordPress page template [closed]
- How to integrate noimage picture in this code
- What is the best way to define constant options for a theme?
- Prevent redirect to wp-login.php
- WordPress and PHP Version Upgrade issue [closed]
- Find out last 7 days of upload images, last week uploaded image from Gallery and display them in different pages
- How to change PHP variables with AJAX request in WordPress
- Exclude category from woocommerce product category list
- Fix hover images blink
- PHP Error in WordPress Theme
- Access certain Entry in HTML-Table and pass the entry-data in WP not working [closed]
- Problems with the WordPress loop [closed]
- Calling PHP function doesn’t work in index.php
- Trying to display ads on only a third of posts in a loop. Keep getting Error 500?
- Woocommerce Convert existing order to the cart