• My WordPress theme not used wp_head. I want using kk Star Ratings plugin. But it’s not working for wp_head. How can I use this plugin without wp_head hook?

Viewing 1 replies (of 1 total)
  • Add this to the head section of your website.

    <link rel='stylesheet' id='kk-star-ratings-css'  href='https://yourdomain.com/wp-content/plugins/kk-star-ratings/public/css/kk-star-ratings.css' type='text/css' media='all' />
    <style id='kk-star-ratings-inline-css' type='text/css'>
    .kk-star-ratings .kksr-stars .kksr-star {
            margin-right: 5px;
        }
        [dir="rtl"] .kk-star-ratings .kksr-stars .kksr-star {
            margin-left: 5px;
            margin-right: 0;
        }
    </style>

    Don’t forget to replace yourdomain.com with your domain.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I run this plugin without wp_head?’ is closed to new replies.