WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mygov
    Member
    Posted 1 year ago #

    Hi,
    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?

    Thanks!

    http://wordpress.org/extend/plugins/post-ratings/

  2. mygov
    Member
    Posted 1 year 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); ?>

    from

    <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
    Member
    Posted 1 year ago #

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

  4. digitalnature
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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.

    Thanks.

  7. artzeye1
    Member
    Posted 1 year 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
    Member
    Posted 11 months ago #

    Same Problem. Please help

  9. esmi
    Forum Moderator
    Posted 11 months 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

About this Topic

Tags

No tags yet.