Creating custom rating


#1

How can i create custom rating like in here ! 30657202_2011383682446421_4413847700080951296_n


#2

Try using the plugin


#3

its not perfectly working


#4

You’d have to submit an issue to the repo if it isn’t working, but fundamentally it’s pretty easy to pull off manually. Render X items, conditionally change the classname based on the set rating value.

class="{{ rating > 1 ? ‘active’ : ‘inactive’ }}"
class="{{ rating > 2 ? ‘active’ : ‘inactive’ }}"
…etc