WordPress.org

Ready to get started?Download WordPress

Forums

Comment Rating
Custom karma insertion doesn't work; no class on auto-inserted <p> (3 posts)

  1. topdownjimmy
    Member
    Posted 4 years ago #

    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.

  2. topdownjimmy
    Member
    Posted 4 years ago #

    My mistake, I hadn't properly called my custom comments function. Works great.

  3. dacosta_rafael
    Member
    Posted 3 years ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic