I want to export my comments to Excel, PDF or Word. The format really doesn’t matter, I just want them exported.
I tried the Export Comments plugin, the standard one, but couldn’t get it to work, I have to do it manually.
Anyone can suggest something on this topic?
Option 1
As the article linked by @MikeMadern suggests:
in your web host control panel, go to PHPMyAdmin
select the table
wp_comments
select Export, configure the format
further down in the same screen, select the Save as file and Go
Option 2
Or, as the same article suggests, just use a plugin:
If you have
WP_DEBUG
enabled, the plugin dumps a couple of warnings, but it’s nothing critical, and it works as expected.Option 3
Just retrieved an old script and adapted to WordPress (using the query from Export Comments as example). Put the file in the root of WP installation and access directly, it will export an Excel file with the comments.
It would be much better to have this as a plugin with security checks and all.
Remove from server after using. Or maybe put it in a folder as
index.php
and set an.htaccess
password.