Font Awesome Icons

Home Forums BulletProof Security Pro Font Awesome Icons

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27205
    Samm
    Participant

    Im my theme, Font Awesome Icons do not appear on the site.  Everything else seems to work correctly, except for this.  The theme developers have suggested adding the following to htaccess to make it work: ok, edit:

    BEGIN WordPress 
    <IfModule mod_headers.c> 
    <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$"> 
    Header set Access-Control-Allow-Origin "*" 
    </FilesMatch> 
    </IfModule>
    END WordPress

    This, according to their forum, seems to have worked for others with the same issue with this theme.  My question is, is this code compatible with BPS Pro?  And, if so, where is the proper place to add this? Also, I am not getting any BPS errors logged, the icons are simply not showing up.

    Thanks.

    #27209
    AITpro Admin
    Keymaster

    Is your Theme using the Font Awesome Icons plugin:  https://wordpress.org/plugins/font-awesome/ or using Font Awesome Icons directly from Font Awesome?  If you do not know that information then it is not that important here.  The problem may or may not be related to or caused by BPS so if adding that code to BPS Custom Code does not fix the problem then you will need to do the BPS Pro troubleshooting steps:  http://forum.ait-pro.com/forums/topic/read-me-first-pro/#bps-pro-general-troubleshooting to confirm, eliminate or isolate which BPS Pro feature is causing the problem.

    Another possibility worth mentioning is that Major CSS changes were made in WordPress 4.4 so clearing your Browser and plugin cache would be a very good idea.

    Do these steps to add your custom code above to BPS Custom Code:

    Note:  The BEGIN WordPress and END WordPress placeholder text should never be used for anything except the standard WordPress Rewrite block of code.  Placeholder text should be unique to all unique code.  Placeholder text or any plain text should always be commented out with # signs or your website will crash.

    1. Copy your custom code below to this BPS Root Custom Code text box:  CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE.  Important:  Your custom code needs to be added above any custom htaccess code that you are already using if you are using any custom htaccess code in that Custom Code text box already.
    2. Click the Save Root Custom Code button to save your Root custom code.
    3. Go to the BPS Security Modes page and click the Root Folder BulletProof Mode Activate button.

    # BEGIN Font Awesome Icons Fix 
    <IfModule mod_headers.c> 
    <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$"> 
    Header set Access-Control-Allow-Origin "*" 
    </FilesMatch> 
    </IfModule>
    # END Font Awesome Icons Fix
    #27224
    Samm
    Participant

    It is not the Font Awesome plugin – it is just the theme that uses the icons.  I have yet to upgrade t0 WordPress 4.4 on this site, so that is not the issue.  I added the htaccess code as suggested and that did not help.  I am now having a second issue beside the icons, so I have gone back to the theme developers to solicit help.

    Thanks.

    #27234
    AITpro Admin
    Keymaster

    Did you do the BPS Pro troubleshooting steps:  http://forum.ait-pro.com/forums/topic/read-me-first-pro/#bps-pro-general-troubleshooting to confirm, eliminate or isolate which BPS Pro feature is causing the problem?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.