November 15, 2019 - Latest Version 2.8.0 - Changelog

Okay
  Print

Broken Font-Awesome Icons

Currently Stachethemes Event Calendar is using the latest version of Font-Awesome while many of the themes using build-in plugins like WP-Bakery or Slider Revolution are using old version.

This may sometimes can cause some icons to not be displayed. The reason for that is because in the latest version Font-Awesome renamed some of the icons and the old version can't find them anymore.

For now to fix this open your theme functions.php file and on the bottom paste this code:

add_action("wp_enqueue_scripts", function() {
    if (class_exists('Stachethemes\Stec\Stachethemes_Event_Calendar')) {
        global $post;
        $stec = Stachethemes\Stec\Stachethemes_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");
        }
    }
});

If the problem persist please contact our Customer Support.