WordPress to Jekyll Exporter

Custom post types

To export custom post types, you’ll need to add a filter to do the following:

add_filter( 'jekyll_export_post_types', function() {
	return array('posts', 'pages', 'you-custom-post-type');
});

The custom post type will be exported as a Jekyll collection. You’ll need to initialize it in the resulting Jekyll site’s _config.yml.