[Resolved] Font Awesome Icons missed.

Tagged: 

  • Author
    Posts
  • #9863

    HenrySavage
    Participant
    This reply has been marked as private.
    #9864

    HenrySavage
    Participant
    This reply has been marked as private.
    #9865

    Andrew Misplon
    Keymaster

    Hi šŸ™‚

    Thanks for posting.

    I’m offline for a bit but will take a look as soon as I’m back on later.

    Please and a url to your site.

    If possible, please save private replies for sending urls so the forums can stay readable. Thanks!

    #9866

    Andrew Misplon
    Keymaster

    Got the URL. Will reply as soon as I’m able.

    Cheers

    #9867

    HenrySavage
    Participant

    Thank you Andrew!

    C.

    #9868

    Andrew Misplon
    Keymaster

    Hi. An issue might be arising from Download Manager also using Font Awesome. Is that a plugin you’re making use of?

    #9873

    HenrySavage
    Participant

    Hi Andrew, yes, I’m using Download Manager.

    #9874

    Andrew Misplon
    Keymaster

    Thanks. Does the issue resolve if you temporarily deactivate Download Manager?

    #9875

    HenrySavage
    Participant

    Hi Andrew, yes, If I deactivate the plugin it works.

    #9877

    Andrew Misplon
    Keymaster

    Both the plugin and the theme are adding Font Awesome using the standard handle which is how it’s meant to work. Unfortunately, there isn’t backwards compatibility between FA post version and version 4. To correct this you can install a plugin called Code Snippets and go to Code Snippets > Import and import the following function.

    https://purothemes.com/wp-content/uploads/2018/05/font-awesome.code-snippets.json

    For reference the function we’re adding is:

    if ( ! function_exists( 'ultra_child_scripts' ) ) :
    function ultra_child_scripts() {
    	wp_enqueue_style( 'font-awesome-4.7.0', get_template_directory_uri() . '//puro-4401.kxcdn.com/font-awesome/css/font-awesome.min.css', array(), '4.7.0' );
    }
    endif;
    add_action( 'wp_enqueue_scripts', 'ultra_child_scripts', 8 );

    But if using Code Snippets, download the file and import it into Code Snippets and activate.

    #9887

    HenrySavage
    Participant

    Hello Andrew, it has solved the problem.

    Thank you very much for your support, fast and professional! *****

    C.

    #9893

    Andrew Misplon
    Keymaster

    Super šŸ™‚ Glad to hear that did the trick.

    All the best.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Scroll to top