Problem displaying font awesome after wp_trim_words
-
Hi,
I’m using this function to limit titles to 10 words :
//Ten words title add_filter( 'the_title', 'wpse_75691_trim_words' ); function wpse_75691_trim_words( $title ) { // limit to ten words return wp_trim_words( $title, 10, '...' ); }
Though, as soon as i put this function on my website, it’s breaking my menu where i’m using a custom link associated with a custom class and a font awesome icon.
https://i.imgur.com/7dVYege.png
The icon is simply not displaying and i fail to resolve the problem/see the connexion between the too.
Any help would be really appreciated !
Best,
ApayThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem displaying font awesome after wp_trim_words’ is closed to new replies.