How to enable truly anonymous posting in bbPress forums? [closed]

When we post an empty anonymous reply, we get the following errors: The part of BBPress that’s responsible for handling this, is the bbp_new_reply_handler() function, in the file /bbpress/includes/replies/functions.php. It contains these lines that are of interest to us: // User is anonymous if ( bbp_is_anonymous() ) { // Filter anonymous data $anonymous_data = bbp_filter_anonymous_post_data(); … Read more

How do I alter the comments form in several different ways?

The argument is an array, so you can use multiple key-value pairs, like this: comment_form( [ ‘title_reply’ => ‘Leave a comment’, ‘comment_notes_before’ => ‘some text’, ] ); In your second example you are using curly quotes. These are not valid PHP. Make sure you have the debug enabled during development, so you can see these … Read more

Comments.php is not getting called on main blog page

Comments can be enabled on the archive page by setting the global variable $withcomments to true before calling comments_template(): global $withcomments; $withcomments = true; comments_template( ”, true ); As Michael pointed out in a comment on the original post, comments_template() does not return output when $withcomments is true, or in a number of other scenarios: … Read more

Change Comment Text [duplicate]

In your theme need to find wp_list_comments it accepts some arguments. One of these arguments is the format. The default format is html5, but there is one more in /wp-includes/class-walker-comment.php called xhtml. Here are all the arguments for the wp_list_comments: * @param string|array $args { * Optional. Formatting options. * * @type object $walker Instance … Read more

Enable comments option

Try to follow this steps and create a new post. Settings > Discussions > checked to allow comments Post > Screen Options > Discussions are checked Let me know incase of any query/concern.

Displaying comment rating stars in carousel

If the comment rating is stored in the comment meta, then you can use: $rating = get_comment_meta( get_comment_ID(), ‘some-meta-key’, true ); where you need to adjust the some-meta-key accordingly. If the comment rating is automatically injected into the comment’s text via the comment_text filter, then you need to use the comment_text() function to display it. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)