• Resolved mrlevinson

    (@mrlevinson)


    Hi,

    I’m loving your Incite Theme but am having an issue with the Social Media Links icons. I’d like to use some non-brand icons (e.g. calendar) but they aren’t showing up.

    It looks like the plugin automatically puts in fab as the data-prefix. I need that data-prefix to be far.

    Any workarounds?

    Thanks!
    Noah

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexander Agnarson

    (@alxmedia)

    Hi Noah!

    This isn’t really a plugin problem, as the code you ask about is in the theme. The workaround for you would be to edit functions.php of Indite on line 343 where it says:

    
    { $icon = 'class="fab ' .esc_attr( $item['social-icon'] ). '"'; } else $icon = '';
    

    Remove the “fab ” (with the space). Now, go to add a social icon and use any FA icon you wish. Just write “fab fa-facebook” instead of “fa-facebook“. Or “fas fa-calendar” to use the solid icons.

    Best would be to use a child theme to paste the entire function in, so that it doesn’t have to be re-done after each theme update.

    Plugin Author Alexander Agnarson

    (@alxmedia)

    Marking this one as resolved for now. If you have any questions, feel free to ask.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Social Media Link Icons’ is closed to new replies.