If you are looking for support for our PokaTheme, this is the place!
Home › Forums › FAQ › How to changes rating icons or disable half stars
This topic contains 0 replies, has 1 voice, and was last updated by admin 4 months, 3 weeks ago.
How to disable half stars in PokaTheme
In Poka theme from v3 and above half stars in ratings are by default enabled.
If you don’t want to show half stars then you can add the following to your functions.php in your child theme:
add_filter(‘poka_ratings_half_icon’, ‘__return_true’, 100);
How to set your own icons for the ratings
If you want to replace Poka theme stars with your own elements you can use the following filter:
'full_star' => '<span class=”icon icon-full”></span>',
'half_star' => '<span class=”icon icon-half”></span>',
'empty_star' => '<span class=”icon icon-empty”></span>',
The forum ‘FAQ’ is closed to new topics and replies.