Seory Posts to Markdown

外掛說明

Seory Posts to Markdown converts your site content into clean Markdown files and bundles them into a single ZIP archive — ready to hand to AI tools, static site generators, or any Markdown-based workflow.

Everything runs on your server. No data is sent to external services, no API keys, no accounts.

Features

  • Export posts, pages, and public custom post types in one click
  • YAML front matter: title, date, type, status, slug, link, author, featured image, categories, tags, custom taxonomy terms, draft flag
  • Two content modes: raw editor content, or fully rendered content with shortcodes and blocks expanded (the_content filters applied)
  • Per-post-type taxonomy filters (categories, custom taxonomies) plus a global date range; optionally include drafts
  • Flexible output layout: flat files (slug.md), per-post folders (slug/index.md), date prefixes (2024-01-15-slug.md), and year / year-month folders
  • Optional index.md table of contents — a convenient entry point when handing the archive to AI tools
  • GFM tables, fenced code blocks, ATX headings
  • Batch processing keeps large sites within PHP time limits

What it does not do

  • Images are not downloaded; image URLs remain as Markdown references
  • script, style, and noscript elements are removed from the output

Related

A browser-based version (convert a WordPress export XML without installing anything) is available at tools.seory.co.jp/wp-to-markdown.

螢幕擷圖

安裝方式

  1. Install and activate the plugin.
  2. Go to Tools Seory Posts to Markdown.
  3. Choose post types and output options, then click Convert and download ZIP.

常見問題集

Is my content sent anywhere?

No. Conversion runs entirely on your own server, and the generated ZIP is deleted right after download.

What is the difference between the two content modes?

Raw editor content converts the stored post content as-is: shortcodes stay unexpanded and block markup comments are removed. Rendered content applies the the_content filters first, so shortcodes and blocks are expanded to their final HTML before conversion.

Which user roles can use it?

Users with the export capability (administrators by default).

Are custom post types supported?

Yes — all public custom post types appear in the post type list.

Can I customize the front matter?

Yes. Developers can add, remove, or reorder keys with the seoryco_wpmd_frontmatter filter:

add_filter( 'seoryco_wpmd_frontmatter', function ( $pairs, $post ) {
    $pairs['subtitle'] = '"' . get_post_meta( $post->ID, 'subtitle', true ) . '"';
    return $pairs;
}, 10, 2 );

Values must be YAML-formatted; keys with an empty-string value are omitted.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Seory Posts to Markdown〉的開發相關工作。

參與者

〈Seory Posts to Markdown〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Seory Posts to Markdown〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1

  • Initial release.