Support » Plugin: Rating-Widget: Star Review System » Adding some text before rating widget

Viewing 1 replies (of 1 total)
  • Plugin Author Vova Feldman


    @jaykaycz sorry for the late response. Open the main plugin file, /blog-root/wp-content/plugins/rating-widget/rating-widget.php. The method that you would like to modify is rw_rating_html. Instead of:
    $rating_html = '<div class="rw-ui-container rw-class-' . $pElementClass . ' rw-urid-' . $pUrid . '"></div>';
    You can simply add any html before the rating:
    $rating_html = ‘<myHtmlCode></myHtmlCode><div class=”rw-ui-container rw-class-‘ . $pElementClass . ‘ rw-urid-‘ . $pUrid . ‘”></div>’;

    Hope it helps 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Adding some text before rating widget’ is closed to new replies.