Support » Plugins and Hacks » Post Ratings » [Resolved] [Plugin: Post Ratings] Numbers on left side
4 years, 3 months 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?
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>
The strange numbers are gone now. The Plugin is working fine.. hmm strange?!
Works for me as well. Any comment from the plugin author?
4 years, 2 months 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…
4 years, 1 month 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…
4 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.
3 years, 7 months 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.
3 years, 4 months ago
Same Problem. Please help
@slaterbeckham: As per the Forum Welcome, please post your own topic. This topic is almost a year old.