WordPress.org

Ready to get started?Download WordPress

Forums

Rating-Widget
[resolved] Change default stars to custom icon? (8 posts)

  1. dsberger
    Member
    Posted 1 year ago #

    How can I change the default stars style with something else?

    It's very easy. First, go to the Ratings settings. Then, on the Rating-Widget options, select the "Custom" button in the color section, and follow the instructions which will appear in the new window.

    This indicates that you can change the default stars to something else (perhaps something custom). Is there an easy way to do this (from the front end) or will it require editing the CSS or a PHP file?

    http://wordpress.org/extend/plugins/rating-widget/

  2. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    That's correct, you can modify the default graphics. In order to do this in our WordPress plugin you'll need to modify function rw_attach_rating_js in the main rating file rating-widget.php according to http://rating-widget.com/documentation/#rw_api_example_custom_image

  3. dsberger
    Member
    Posted 1 year ago #

    That's not exactly clear to me what to do. Can you provide more detailed instructions?

  4. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    @dsberger, in anyway you'll need to create a sprite of the graphics according to this instructions.

    The easiest way, only if you don't mind sharing & contributing your design to the community, would be sending me the design directly to [vova AT rating-widget DOT com], so I'll add it to the existing set of themes.

    Otherwise, it's not a straight forward modification. Please let me know how would you like to continue from here.

  5. dsberger
    Member
    Posted 1 year ago #

    I just sent the files your way. Please review and let me know if you need anything further. Thank you for your help on this issue.

  6. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    The custom style was added to version 1.6.7 :)

  7. netigate
    Member
    Posted 1 year ago #

    aha..and where do we find that particular option?

  8. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    Dear @netigate, well actually @dsberger have sent me the graphics according to our design instructions directly to my email [vova AT rating-widget DOT com] and I've added the theme to our themes collection.

    You are more than welcome to contact me as well!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic