Migrate your blog from WordPress to Hexo.
$ npm install hexo-migrator-wordpress --save
Export your WordPress in "Tools" → "Export" → "WordPress" in your dashboard.
Execute the following command after installed. source
is the file path or URL of WordPress export file.
$ hexo migrate wordpress <source>