I am adding “custom social icons” to a website following the instructions provided in this Apex Forum Post
I’ve added the custom code to X Child functions.php file. The examples provided in that post work fine, meaning I can create the icons for Etsy, Bandcamp and Soundcloud.
I am trying to add an icon for Patreon. I have added the following code to the function outlined in the previous post:
// Please insert your social profile links
$patreon = ' <website URL> ';
// custom social profile links
if ( $patreon ) : $output .= '<a href="' . $patreon . '" class="patreon" title="Patreon" target="_blank"><i class="x-icon-patreon" data-x-icon="" aria-hidden="true"></i></a>'; endif;
NOTE: I’m not quoting all of the code inserted in functions.php, only the relevant components.
From the Font Awesome Cheat Sheet https://fontawesome.com/cheatsheet the code for Patreon is f3d9, and is labeled ‘patreon’.
However, when I implement this on my website, the link for Patreon is placeheld, but the icon image is not present. Here is an example, showing Instagram | Patreon | Bandcamp. The Bandcamp icon is placed using the example code in the Apex Forum post I referenced.
Why is the Patreon icon not showing? Is X Theme using a deprecated set of fonts or image icons? Or is there another configuration setting that I need to change?
Thank you.