WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Adding some text before rating widget

[Resolved] Adding some text before rating widget

Viewing 1 replies (of 1 total)
  • Plugin Author vovafeldman
    Participant

    @svovaf

    @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 ‘[Resolved] Adding some text before rating widget’ is closed to new replies.