Support Center

Frequently asked questions and support documentation for RatingWidget.

Results

  • I’ve followed all the Rich-Snippets instructions but I don’t see any ratings on Google search results – what’s wrong?

    The first thing you should do is to make sure that you’ve configured the ratings’ rich-snippets correctly. Go back to the this topic and follow the instructions. Once the configuration is right, usually it takes about two weeks until Google will add the Rich-Snippets ratings. It’s really varies according your store’s content quality, crawling frequency, pagerank and many other parameters. Even though we have many clients that the ratings appeared on their SERP, we can’t assure that Google will eventually add the ratings’ rich-snippets. Unfortunately we don’t have an access to their algorithms.

  • Do you have a refresh code for Ajax loaded content?

    In order to refresh / re-render the ratings on the page all you need to do is execute the following JavaScript line.

    RW.render(null, true);

    You can add the following code snippet right before your closing </body> tag (requires jQuery support) and it will automatically do the job.

    <script type="text/javascript">
        (function($){
            $(document).ajaxSuccess(function() {
                setTimeout(function(){
                    if ("undefined" !== typeof(RW))
                        RW.render(null, true);
                }, 500);
            });
        })(jQuery);
    </script>

    If you care about efficiency, call this method only after you add new ratings’ HTML containers (not on every Ajax call).

    Using the WordPress Plugin?

    To add the snippet right in your WordPress’ footer, add the following code to your theme’s functions.php file:

        /* Append ratings render-er after ajax call.
        ------------------------------------------*/
        function rw_render_ratings_after_ajax()
        {
    ?>
    <script type="text/javascript">
        (function($){
            $(document).ajaxSuccess(function() {
                setTimeout(function(){
                    if ("undefined" !== typeof(RW))
                        RW.render(null, true);
                }, 500);
            });
        })(jQuery);
    </script>
    <?php        
        }
    
        add_action('wp_footer', 'rw_render_ratings_after_ajax');
    
  • How to hide the content recommendations shown in the after vote report popup?

    To disable recommendations shown in the report popup, simply add this code snippet

    "hideRecommendations": true,

    to your existing integration code options. Your new integration code should be something like:

        ...
        options: {
           "hideRecommendations": true,
           "size": "medium",
           "style": "oxygen",
        }
        ...
    

    WordPress Plugin User?

    • Go to Dashboard > RatingWidget
    • Select the rating type tab you’d like to modify
    • Scroll to the bottom of the setting page until you get to the Power User Settings
    • Check the Activate / in-activate checkbox to activate the Power User Settings.
    • By default, the hideRecommendations option will already be there as one of the examples:
      options.hideRecommendations = true;
    • Delete all other preset functions if not needed or modify when necessary. Then click Save Changes and you’re all set!