Modified version of the code found in [this post](https://www.bluleadz.com/blog/how-to-export-a-hubspot-blog)
```
{% set export = blog_recent_posts('2099729350', 200) %}
"post_title","post_slug","post_date","post_content","post_thumbnail","post_author","post_category",<br>
{% for content in export %} "{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.name|forceescape }}","{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.slug|forceescape|replace('blog/', '') }}","{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.publish_date_localized|forceescape }}","{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.post_body|replace('"','""')|forceescape|escape_jinjava }}","{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.featured_image }}","{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.blog_post_author }}","{{ $root.DOUBLE_LEFT_CURLY_BRACE }} content.topic_list|forceescape|replace('[', '')|replace(']', '') }}" <br>
{% endfor %}
{% endif %}
```
Use this in tandem with the [WP All Import plugin](https://wordpress.org/plugins/wp-all-import/)