Resolved

Font Awesome Icons missed.

Ultra Theme started by HenrySavage May 25, 2018 12 replies
HenrySavage May 25, 2018 · 9:17 am #9862

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.

HenrySavage May 25, 2018 · 9:22 am #9863

This reply has been marked as private.

HenrySavage May 25, 2018 · 9:24 am #9864

This reply has been marked as private.

Andrew Misplon Puro May 25, 2018 · 9:26 am #9865

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!

Andrew Misplon Puro May 25, 2018 · 9:28 am #9866

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

Cheers

HenrySavage May 25, 2018 · 9:29 am #9867

Thank you Andrew!

C.

Andrew Misplon Puro May 25, 2018 · 3:32 pm #9868

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

HenrySavage May 25, 2018 · 3:57 pm #9873

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

Andrew Misplon Puro May 25, 2018 · 3:59 pm #9874

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

HenrySavage May 25, 2018 · 4:02 pm #9875

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

Andrew Misplon Puro May 25, 2018 · 4:06 pm #9877

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.

HenrySavage May 28, 2018 · 8:39 am #9887

Hello Andrew, it has solved the problem.

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

C.

Andrew Misplon Puro May 28, 2018 · 2:30 pm #9893

Super 🙂 Glad to hear that did the trick.

All the best.

13 posts