Support » Plugin: WP-PostRatings » [Plugin: WP-PostRatings] %POST_CONTENT% doesn't work on highest rated template

  • Resolved tokiso

    (@tokiso)


    Hello,

    I am using wp-postratings 1.63 on my blog. My problem is that %POST_CONTENT% doesn’t work on highest rated template. I am using this template code on a page to show the top 100 rated posts. Instead of showing the post content, it appears nothing. Other tags like %POST_URL% or %POST_TITLE% work and they are displayed correctly.

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-postratings/

Viewing 1 replies (of 1 total)
  • I have found a solution:

    Replace in wp-postratings.php:

    $value = str_replace(“%POST_CONTENT%”, get_the_content(), $value);

    with

    $value = str_replace(“%POST_CONTENT%”, $post->post_content, $value);

    This works for me.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-PostRatings] %POST_CONTENT% doesn't work on highest rated template’ is closed to new replies.