Okay
  Public Ticket #3092219
Broken Font-Awesome Icons
Closed

Comments

  •  1
    jreit started the conversation

    Dear Stachethemes Support,

    I have added the following code to functions.php but the Font-Awesome icons do not show up: 

    add_action("wp_enqueue_scripts", function() { if (class_exists('StachethemesStecStachethemes_Event_Calendar')) { global $post; $stec = StachethemesStecStachethemes_Event_Calendar::get_instance(); if ($post->post_type === 'stec_event' || $stec->scripts_are_forced() === true || (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'stachethemes_ec'))) { $stec->add_asset_js("stec-fa-5-compat", "js/front/fa-back-compat.js"); } } });

    add_action("wp_enqueue_scripts", function() {    if (class_exists('StachethemesStecStachethemes_Event_Calendar')) {        global $post;        $stec = StachethemesStecStachethemes_Event_Calendar::get_instance();        if ($post->post_type === 'stec_event' || $stec->scripts_are_forced() === true || (is_a($post, 'WP_Post') && has_shortcode($post->post_content, 'stachethemes_ec'))) {            $stec->add_asset_js("stec-fa-5-compat", "js/front/fa-back-compat.js");        }    }
    });

    With kind regards,

    Ross