I found out that WordPress strips HTML by default from excerps and categories. There are ways to solve this: https://wordpress.stackexchange.com/questions/141125/allow-html-in-excerpt but pasting this in my child theme functions did not work for me.
Hello Enfold,
happily using your theme. I have a question about activating Font Awesome. I have included the following code in functions.php (as font awesome explains on getting started page) but the font is not showing on the masonry portfolio excerpt when placed on the image itself. It does work when excerpt is used in blog posts element. Could you help me to see if I should use something like specific CSS?
function avia_add_fontawesome(){
?>
<script src=”https://use.fontawesome.com/3a1adf5101.js”></script>
<?php
}
function Font_Awesome_5(){
?>
<link rel=”stylesheet” href=”https://use.fontawesome.com/releases/v5.3.1/css/all.css” integrity=”sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU” crossorigin=”anonymous”>
<?php
}
add_action(‘wp_head’, ‘Font_Awesome_5’);