WordPress.org

Support

Support » Plugins and Hacks » WP-PostRatings » [Plugin: WP-PostRatings] Already reported: extraneous text in display

[Plugin: WP-PostRatings] Already reported: extraneous text in display

Viewing 7 replies - 1 through 7 (of 7 total)
  • open wp-postratings.php and sear for $ratings_meta = '<div
    give the div a style="display: none;" and it will be fixed. this is just a temporarily fix. hopefully lester will bring on a fix to this

    Ok, it looks like I’m not the only one with the same problem.

    I went into wp-postratings.php as advised and the display is already set to none. It’s still showing up. Here’s a sample: http://highlightedbooks.com/literature-fiction/america-again-rebecoming-the-greatness-we-never-weren39t/

    go again to the wp-postratings.php and search for <meta itemprop="url" content= right before that i can find this ">"> delete one of those "> and it should be fixed (cause this is what i can see in your source-code on your page)

    hth

    Yay, it worked. Thank you!! 🙂

    You’re welcome 🙂

    I am having the exact same problem with version 1.64 :displays post excerpt followed by “> after post is rated.
    checked your solution but could not find extra “> in wp-postratings.php.
    Any ideas ???
    Thanks for help

    I had the same problem with latest wordpress + wp-postratings. I fixed it likes this:

    In wp-postratings.php find string “if(!isset($post_excerpt))” and replace following string with this:

    $post_excerpt = get_the_excerpt();

    Than after “$post_link = get_permalink($post_id);” add this:

    $post_excerpt = sanitize_html_class($post_excerpt);

    In the end it’s should look like this:

    if(!isset($post_excerpt))
    			$post_excerpt = get_the_excerpt();
    		if(!isset($post_link))
    			$post_link = get_permalink($post_id);
    $post_excerpt = sanitize_html_class($post_excerpt);

    Use it on your own risk 😀

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-PostRatings] Already reported: extraneous text in display’ is closed to new replies.
Skip to toolbar