[WordPress] 外掛分享: Code To Post

首頁外掛目錄 › Code To Post
10+
安裝啟用
尚無評分
2288 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v0.1.4 上架:2019-07-16

內容簡介

⚠️ 此外掛正在開發中

此外掛將從靜態 HTML 檔案更新或建立文章。
它適用於開發。

運作方式:

在您的伺服器上建立基本目錄。
在基本目錄中以"文章類型縮略名"命名一個目錄。
將 HTML 檔案放入該目錄中,並將文章內容儲存為此 HTML。
前往 "Code to Post" 選單,並點擊 "更新至文章"。

範例樹狀圖

my-posts-dir
├── post (文章類型縮略名)
│ ├── hello.html (文章縮略名.html)
│ └── any-slug.html

├── page
│ ├── about.html
│ ├── searvice.html
│ └── searvice (上層文章縮略名)
│ ├── searvice-child-01.html
│ └── searvice-child-02.html

└── my-custom-post
├── custom-post-01.html
└── custom-post-02.html

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Code To Post」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

⚠️ This plugin in development
This plugin update or make post from static html files.
It’s useful for development.
How it works:

Create a base directory on your server.
Create directory named by “post type slug” in base directory.
Put html file in the directory. and save post content to this html.
Go to ‘Code to Post’ menu, and click ‘Update to Post’.

Example tree
my-posts-dir
├── post ( posttype slug )
│ ├── hello.html ( post slug.html )
│ └── any-slug.html

├── page
│ ├── about.html
│ ├── searvice.html
│ └── searvice ( parent post slug )
│ ├── searvice-child-01.html
│ └── searvice-child-02.html

└── my-custom-post
├── custom-post-01.html
└── custom-post-02.html

延伸相關外掛

文章
Filter
Apply Filters
Mastodon