FontAwesome 5 changes
It seems like FontAwesome 5 requires you to specify the prefix of the specific icon. https://fontawesome.com/how-to-use/svg-with-js#basic-use
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
$icon = $item['icon'];
|
||||
$link = str_replace("{{cur}}", get_current_url(), $item['link']);
|
||||
|
||||
echo '<a href="' . $link . '" title="' . $item['alt'] . '"><i class="fa ' . $icon . ' fa-fw"></i></a>';
|
||||
echo '<a href="' . $link . '" title="' . $item['alt'] . '"><i class="' . $icon . ' fa-fw"></i></a>';
|
||||
}
|
||||
?>
|
||||
</p></center>
|
||||
|
Reference in New Issue
Block a user