I don’t want any comment querys to run. I don’t wont anything about comments to be shown in wordpress admin area.
Is this possible in any way?
EDIT: Remove all links to the comments from admin bar, and all of the backend section.
I don’t want any comment querys to run. I don’t wont anything about comments to be shown in wordpress admin area.
Is this possible in any way?
EDIT: Remove all links to the comments from admin bar, and all of the backend section.
You must be logged in to post a comment.
Here is a list of all of the above answers and a removal of the admin bar link. Just add it to your themes function file or make it a plugin. I will mark this as a community wiki as everyone’s answer is right just no one added it all together.
To remove the Comments menu:
This should remove support for comments on your site:
I don’t know if it will hide every mention of comments in the admin section, though. The “Right Now” box on the dashboard is mostly hard-coded, so you’d have to hide that box or do some hackery to filter out the line about “Comments”. But it should remove the “comments” text everywhere else that I can think of.
Source
This will not remove it from your markup per se, but you can easily hide the WP 3.1 admin bar link (both visually and from screen-readers) by adding the following line to your theme’s CSS:
li#wp-admin-bar-comments { display: none; visibility: hidden; }
There’s an out-of-the-box solution that does just that. It’s a plugin from Frank Bültge
Docs:
http://wpengineer.com/2230/removing-comments-absolutely-wordpress/
Plug-in download:
https://github.com/bueltge/Remove-Comments-Absolutely
Just install, and thats it. no config.
It works fine with WP 3.5