User Rating Slider Titles

Front Support Plugins Support WP Reviews Plugin User Rating Slider Titles

This topic contains 3 replies, has 2 voices, and was last updated by  Hesham 4 years ago.

  • Author
    Posts
  • #2293

    Matt Etheridge
    Participant

    Hi guys,

    I noticed that the title above each of the user-rating sliders was showing the configured “unique id”, and not the actual label. If this should be working the way I think it should be working, then you need to change line 97 in wpreviews/inc/user-rating/user-rating-functions.php from:

    $out .= ‘<label for=”amount_’.$uid.'”>’.$element[‘title’].'</label>’;

    to:

    $out .= ‘<label for=”amount_’.$uid.'”>’.$element[‘desc’].'</label>’;

    Is this right Hesham?

    Cheers,

    Matt.

  • #2296

    Hesham
    Keymaster

    Due to an update I made to the plugin, if there is no Title is provided, then the ID will show instead.

    Can I see example? maybe a link to one of your reviews showing the issue.

  • #2314

    Matt Etheridge
    Participant

    Hi Hesham,

    Sorry mate, I do not have a publicly available site yet. However, the problem definitely is occurring. I changed the code that I specified above, and it worked just fine.

    Cheers,

    Matt.

  • #2341

    Hesham
    Keymaster

    If that worked for you, then that’s OK. I just can’t change it in the plugin without testing it out first.

The forum ‘WP Reviews Plugin’ is closed to new topics and replies.