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:
Kukielka
2018-04-16 14:28:30 +02:00
parent 09e1c0f2c2
commit d459bbe623
12 changed files with 1387 additions and 4 deletions

View File

@ -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>