Comment number does not increment
Approving them in the admin console solved my problem.
Approving them in the admin console solved my problem.
code highiglight not working comment
There’s a way. First convert posts to topics and comments to replies with WordPress-to-bbpress-converter. This script is designed for BBpress 1: so you have to install first BBPress 1 and then use the script. After that you could use the official BBPress importer (from BBPress 1 to BBPress 2) located in Tools -> Forums -> … Read more
I can’t see a way to do it with any existing plugins. Probably the best thing to do would be to modify the plugin so that in the short code you could put “post=186” where 186 corresponds to the number of the page that you’re posting it on. And then modify the output of the … Read more
Incorrect redirection after commenting on custom type
Number/ Position of a Comment
The filter you mention is used by the end of get_comments_number_text. As you can see from the source the number of comments is passed through the filter, allowing you to completely change the default text. Like this: add_filter (‘comments_number’, ‘wpse89257_comments_number’, 10, 2); function wpse89257_comments_number ($output, $number) { if ($number == 0) $output=”0 Comments”; elseif ($number … Read more
I would try something like this: $comments = get_comments(); $yes = 0; $no = 0; foreach ($comments as $comment) { $vote = get_comment_meta ( $comment->comment_ID, ‘vote’, true ); if ($vote == ‘yes’) { $yes++; } else if ($vote == ‘no’) { $no++; } } echo ‘Yes:’.$yes.’ No:’.$no; Problem is the numbers can easily be manipulated … Read more
Alternative to the filter comment_reply_link