WordPress.org

Support

Support » Plugins and Hacks » Comment Rating » [Plugin: Comment Rating] Custom karma insertion doesn’t work; no class on auto-inserted <p>

[Plugin: Comment Rating] Custom karma insertion doesn’t work; no class on auto-inserted <p>

  • The php function given here doesn’t work in newer themes that use the wp_list_comments function. These themes don’t have a comment loop in comments.php; the loop instead is either the default or a custom one you create in functions.php. And the code doesn’t produce the up/down buttons when placed in functions.php.

    Also, it would be enormously helpful if the <p> that was auto-inserted had a class on it so that it could be styled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • My mistake, I hadn’t properly called my custom comments function. Works great.

    how can i get comment rating for a selected commentid?

    this does not include comment rating feature

    how can i include the comment rating feature in this manner?

    $share_cmt_id_output = get_comment($cmtval);
    $content = $share_cmt_id_output->comment_content ;
    echo $content;

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Comment Rating] Custom karma insertion doesn’t work; no class on auto-inserted <p>’ is closed to new replies.
Skip to toolbar