Support » Plugin: WP Font Awesome Share Icons » Change the way the plugin detectes enqued files.

  • As of today your plugin checks for the existence of a file by checking if they are in the $wp_styles->registered list.
    Some authors register their styles and scripts but not always enqueue them, so this plugin ends up not loading the necessary stylesheets.

    The solution for that might by using wp_script_is inside wpfai_check_css.

    For now I’m forcing the loading by adding wp_register_style( 'wpfai_font-awesome'... etc to my functions files.

    Best regards.

  • The topic ‘Change the way the plugin detectes enqued files.’ is closed to new replies.