The Process:
- First log into your WordPress admin panel and select Settings -> Discussion from the menu
- Uncheck the box that says: Allow people to post comments on the article then click the Save Changes button
- Select Design -> Theme Editor from the menu and open Single Post (single.php)
- Find the following code: and remove it.
- Find the following and remove it:
- Then click the update file button
- Select Manage -> Posts from the menu. Open the post you would like to remove comments from.
- Under the Comments and Pings Option, uncheck the Allow Comments box and then click the save button.
- Repeat steps 7 and 8 as necessary for all pages
comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open ?> Both comments and pings are currently closed.
Source : http://www.lancelhoff.com/remove-comments-are-closed-text-from-posts/
0 comments:
Post a Comment