• Resolved KS Web Designer

    (@ks-webdesignercom)


    Hi Lester. I have used this plugin before and got it running smoothly on a custom theme, but it seems there’s something not quite right with the implementation I am running at the moment. Here’s where I’m up to:

    I have installed the plugin and placed the following php in my theme:
    <?php if(function_exists('the_ratings')) { the_ratings(); } ?>

    The rating options show up, but clicking on them has no effect. I did a bit of digging and found that the JS file (postratings-js.js) wasn’t being included on the page. I have wp_footer() and wp_head() in my theme no not quite sure why it isn’t being pulled in.

    As an experiment I added a call to the JS file manually, however, doing that causes a JS error in the console (RefferenceError: ratingsL10n is not defined).

    I’m hoping that by solving the issue of the file not being called that might also fix the second error, but I thought I’d mention both.

    Cany you help?

    Thanks

    https://www.ads-software.com/plugins/wp-postratings/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Rating Options Show Up but Don't Work’ is closed to new replies.