Title: Error for custom post types
Last modified: July 4, 2018

---

# Error for custom post types

 *  [polyfade](https://wordpress.org/support/users/polyfade/)
 * (@polyfade)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/error-for-custom-post-types/)
 * Specifying `add_filter( 'jekyll_export_post_types', array('posts', 'pages', '
   my-post-type') );` exports an empty `_posts` directory, and without any pages
   markdown files.
 * Even specifying this `add_filter( 'jekyll_export_post_types', array('posts', '
   pages') );` returns the same result.
 * Using PHPv7, WordPress 4.9.6, unmodified Twenty Seventeen theme

The topic ‘Error for custom post types’ is closed to new replies.

 * ![](https://ps.w.org/jekyll-exporter/assets/icon-256x256.png?rev=3073421)
 * [Static Site Exporter](https://wordpress.org/plugins/jekyll-exporter/)
 * [Support Threads](https://wordpress.org/support/plugin/jekyll-exporter/)
 * [Active Topics](https://wordpress.org/support/plugin/jekyll-exporter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jekyll-exporter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jekyll-exporter/reviews/)

## Tags

 * [jekyll](https://wordpress.org/support/topic-tag/jekyll/)
 * [markdown](https://wordpress.org/support/topic-tag/markdown/)

 * 0 replies
 * 1 participant
 * Last reply from: [polyfade](https://wordpress.org/support/users/polyfade/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/error-for-custom-post-types/)
 * Status: not resolved