Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author srumery

    (@srumery)

    Hello zimrock,

    I guess the FAQ doesn’t specify where to put the code. Simply place it in your themes function.php file. You can always add it to a site specific plugin as well. Just make sure that the theme you are using supports FontAwesome already either way.

    Let me know how it goes.

    Thread Starter zimrock

    (@zimrock)

    here is the code i put in the theme root functions.php file at the bottom:

    // filter the tab output from the Simple Side Tab plugin
    function rum_filter_simple_side_tab_text( $text ) {

    $text = ‘<i class=”fa fa-life-ring”></i> ‘ . $text;

    return $text;
    }
    add_filter( ‘rum_sst_plugin_text_for_tab’, ‘rum_filter_simple_side_tab_text’, 10 , 1 );

    it put a bunch of icons in the middle of my home page and not one in the test tab.

    what am i doing wrong?

    Plugin Author srumery

    (@srumery)

    You are using the filter correctly. Can you give me the link to your site so I can take a look?

    Plugin Author srumery

    (@srumery)

    You are using the filter correctly. Can you send me the link to your site so I can take a look?

    Plugin Author srumery

    (@srumery)

    If you need further help with this, please let me know. I’m happy to help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add Font Awesome Icon’ is closed to new replies.