Custom comment types. Are they a possibility?
Currently, core only has comment, trackback, and pingback registered as comment types, and that list is not extensible. I would recommend using custom post metadata for your editorial-phase comments.
Currently, core only has comment, trackback, and pingback registered as comment types, and that list is not extensible. I would recommend using custom post metadata for your editorial-phase comments.
See that bulk actions dropdown in lower left? Choose your action there and then click Apply
I think the problem is here >] <h3 id=”comments-title”><?php printf( _n( ‘One Response to %2$s’, ‘%1$s Responses to %2$s’, get_comments_number() ), number_format_i18n( get_comments_number() ), ‘<em>’ . get_the_title() . ‘</em>’ ); ?></h3> Try changing that to <h3 id=”comments-title”><?php printf( _n( ‘One Response to %2$s’, ‘%1$s Responses to %2$s’, number_format_i18n( get_comments_number() ), ‘<em>’ . get_the_title() . ‘</em>’ … Read more
You want to allow folks to post code in their comments, like on here were we can just do <p>something</p> without having to worry about doing any > or < stuff? I think you’ll still want those special html characters converted to their respective entities, but you need to stay under the radar to avoid … Read more
I’m not sure why you would want to remove the aria-required attribute. It is a form attribute in draft at W3 that deals with accessibility for working with applications and handicapped users. Anyway, you can remove it by filtering the comment_form_default_fields and comment_form_field_comment. The example below can be used as a plugin or in your … Read more
Actually, after trying a lot more I figured out that it was actually something quite simple I just forgot. Apart from the code in the comment.php, you also have to change this in your single.php: <?php comments_template(); ?> to <?php comments_template(”, true); ?> And that did the trick! I leave this here for future reference … Read more
This is a caveat emptor solution, because the comments template is not intended to be displayed on archive-index pages. To display the comments template on archive index pages, you need to ensure that the appropriate template file (e.g. index.php, archive.php, etc.) calls <?php comments_template(); ?> at the appropriate place inside the Loop. If you need … Read more
Conditional tags are used to change content on the basis of what conditions a page meets. While there are no conditional tags depending on a user’s role, this is how you can manipulate content depending on roles: Display content to the user, depending on his role <?php global $current_user; get_currentuserinfo(); //not strictly required, $current_user should … Read more
You can simply place the hook yourself in your theme (or better: Child theme) template: do_action( ‘comment_form_after’ );
You could remove scripts in the following manner. function custom_remove_scripts() { wp_dequeue_script(‘comment-reply’); } add_action( ‘wp_enqueue_scripts’, ‘custom_remove_scripts’ );