Okay
  Public Ticket #1936116
Font awesome
Closed

Comments

  • Melanie started the conversation

    I managed to add two Font Awesome icons the other day but didn't document how I did it.  I have followed the directions in your article https://stachethemes.ticksy.com/article/13675/edit/ and used 

     

    but that is not returning an icon.  I now have various blank font/icons see attached.  The blue circled ones I was able to add.

    How do I add a Font awesome and How do I remove the dead ones?

    Please advise. Thanks.

    Melanie

  •  795
    Zhivko replied

    Hi,

    You can remove all custom icons by adding following code in your theme functions.php file:

    update_option('stec_user_fa_icons', array());

    You can insert custom icons by hand as well like this:

    update_option('stec_user_fa_icons', array(
        'fa fa-times' => 'Close',
        'fas fa-atom' => 'Atom'
    ));
    

    Once the code is executed you can remove it.


    We'll add option to remove icons from the admin in the next update.


    Stachethemes Developer