WordPress.org

Support

Support » Plugins and Hacks » kk Star Ratings » Script to footer

Script to footer

Viewing 1 replies (of 1 total)
  • this is the way to do it in your file index.php :
    Modification of

    // Scripts
    add_action(‘wp_head’, array($kkStarRatings_obj, ‘js’));
    add_action(‘wp_enqueue_scripts’, array($kkStarRatings_obj, ‘css’));
    add_action(‘wp_head’, array($kkStarRatings_obj, ‘css_custom’));
    add_action(‘admin_init’, array($kkStarRatings_obj, ‘admin_scripts’));

    to :

    // Scripts
    add_action(‘wp_footer‘, array($kkStarRatings_obj, ‘js’));
    add_action(‘wp_enqueue_scripts’, array($kkStarRatings_obj, ‘css’));
    add_action(‘wp_head’, array($kkStarRatings_obj, ‘css_custom’));
    add_action(‘admin_init’, array($kkStarRatings_obj, ‘admin_scripts’));

Viewing 1 replies (of 1 total)
  • The topic ‘Script to footer’ is closed to new replies.
Skip to toolbar