[Resolved] Font Awesome Icons missed.

This topic contains 12 replies, has 2 voices, and was last updated by  Andrew Misplon 1 year, 1 month ago.

Tagged: 

  • Author
    Posts
  • #9862

    HenrySavage
    Participant

    Hello guys, before all, thank you very much for your great work.

    I Manage a company site, and after last update (other person, yesterday May 24th), the font awesome icons have been disappeared, and I can not be able to fix it. Could you please tell me if there’s an incompatibility (or other) issue with the last update? Do you have any solution in mind?

    I use Ultra Free.

    Thank you very much.

    C.

    #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() . '/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 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

Scroll to top