Keep comments from export/import
I have WordPress databases A and B. I never realized the importance of making a setting not to allow comments (in A) but never approved any, in any case. I found no way in the export procedure to eliminate the (blank) comments.
For the theme I’m using (Risen, from ThemeForest), the FAQ says:
You can disable comments on a per page/post basis and globally. To disable comments globally, go to Settings > Discussion and uncheck the box for “Allow people to post comments on new articles”. This only applies to new posts.
For pages/posts that you already created, you will need to disable comments manually for each. Go to edit one of your pages or posts and look for Screen Options at the top-right. Click it then make sure the “Discussion” option is checked. It causes a “Discussions” box to appear at the bottom of the page below the content editor. Uncheck the “Allow comments” option in this box then save your post/page.
When I imported, they all show up allowing comments. I don’t want to go through almost 400 posts to turn off the comments individually. I’ve deleted all the posts, and need to re-import.
The question is: either in the export or the import, how do I make sure there are no comments allowed? (novice language, please)
- The topic ‘Keep comments from export/import’ is closed to new replies.