topdownjimmy
Member
Posted 1 year 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.
topdownjimmy
Member
Posted 1 year ago #
My mistake, I hadn't properly called my custom comments function. Works great.
dacosta_rafael
Member
Posted 1 year 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;