Post Ratings
[resolved] [closed] Numbers on left side (9 posts)

  1. mygov
    Posted 3 years ago #

    I hope you can help me. I implemented this rating plugin but I see strange numbers on left side. (Image link: http://i49.tinypic.com/2w7fitt.jpg)

    Did you have an idea how I can remove this strange numbers?



  2. mygov
    Posted 3 years ago #

    I figured out when I remove this part

    <?php print apply_filters('post_ratings_control_text', sprintf('%d / %d', $i, $max_rating), $i, $max_rating); ?>


    <a title="<?php esc_attr_e($title); ?>"><?php print apply_filters('post_ratings_control_text', sprintf('%d / %d', $i, $max_rating), $i, $max_rating); ?></a>

    in /wp-content/plugins/post-ratings/templates/post-ratings-control.php

    The strange numbers are gone now. The Plugin is working fine.. hmm strange?!

  3. jondaley
    Posted 3 years ago #

    Works for me as well. Any comment from the plugin author?

  4. digitalnature
    Plugin Author

    Posted 3 years ago #

    The reason you see those numbers is because of negative text-indent values from the plugin CSS. The idea was to hide text meant to be there for accessibility reasons.

    You can just remove it (I`ll do the same in the next update).

    If you customize the rating control template, copy it to your theme / child theme, to avoid losing your changes if you update...

  5. Tradebr
    Posted 3 years ago #

    For me It didn't work. What should i do ?? I removed that part from the post ratings control. But the numbers still there...

  6. thomasnruth
    Posted 3 years ago #

    I also remove that portion of the script and it did fix the number from showing up on the left side of the browser window.

    Please remember to remove this when the next update is released.


  7. artzeye1
    Posted 2 years ago #

    I'm running wp 3.5.1, and directorypress 7.1.3. Fix above didn't work,neither did adding text indent -9999 in theme's style sheet, waa waa.

  8. slaterbeckham
    Posted 2 years ago #

    Same Problem. Please help

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    @slaterbeckham: As per the Forum Welcome, please post your own topic. This topic is almost a year old.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Ratings
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.