Tag Info

New answers tagged

0

The comments section is quite a big section to properly explain, but here are the basics First, here is the "Settings >> Discussion screen It is here that you set how and when comments will be displayed on the front end on posts. Here is a quick description of the most important setting Allow people to post comments on new articles >> Comment section ...


1

The ability to set comment status is tied to the "edit_comment" capability, which is a meta-capability in WordPress. It maps to the "edit_post" capability, which is another meta-capability that varies depending on whether a post is published or not. In the end, if a post is published, then edit_comment ends up mapping to "edit_published_posts" for the ...


0

You can remove the capability from the role entirely. It you can replace the PUT_ROLE_HERE with your role: $edit_role = get_role(PUT_ROLE_HERE); $edit_role->remove_capability('moderate_comments'); As @SierraTR says, only Administrators and Editor have access to moderate comments, unless you have some kind of Role Plugin.


0

According to the Codex: Roles_and_Capabilities both the Admin and Editor roles have the capability of managing comments. At the bottom of that Codex page under Resources there are a few plugins listed for easily changing the capabilities of user roles ( other than Administrator ) and there are references to functions you can use to change the capabilities ...


2

You can use a filter to pre_get_posts so that only your posts are listed. Something like this: function my_posts_only( $query ) { global $pagenow; if ( 'edit.php' != $pagenow || ! $query->is_admin ) return $query; if ( ! current_user_can( 'manage_options' ) ) { global $user_ID; $query->set( 'author', $user_ID ); ...


1

Try this: http://wordpress.org/plugins/wp-ajaxify-comments/ or (manually) Add the following lines of code to your theme’s functions.php file add_action('init', 'wdp_ajaxcomments_load_js', 10); function wdp_ajaxcomments_load_js(){ wp_enqueue_script('ajaxValidate', ...



Top 50 recent answers are included