Title: Code To Post
Author: Ryuta Sakai
Published: <strong>2019 年 7 月 17 日</strong>
Last modified: 2019 年 12 月 13 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/code-to-post.svg)

# Code To Post

 作者：[Ryuta Sakai](https://profiles.wordpress.org/ryutasakai/)

[下载](https://downloads.wordpress.org/plugin/code-to-post.0.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/code-to-post/#description)
 * [评价](https://cn.wordpress.org/plugins/code-to-post/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/code-to-post/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/code-to-post/#developers)

 [支持](https://wordpress.org/support/plugin/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:

 1. Create a base directory on your server.
 2. Create directory named by “post type slug” in base directory.
 3. Put html file in the directory. and save post content to this html.
 4. 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

## 屏幕截图

 * [[
 * congiguration
 * [[
 * updating

## 安装

 1. Upload `code-to-post` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Update congiguration through ‘Code to Post’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Code To Post」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ryuta Sakai ](https://profiles.wordpress.org/ryutasakai/)

[帮助将「Code To Post」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/code-to-post)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/code-to-post/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/code-to-post/)，或通过[RSS](https://plugins.trac.wordpress.org/log/code-to-post/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/code-to-post/)。

## 更新日志

#### 0.1.4-BETA

 * In development
 * Bugfix: When saving unpublished, it will be newly saved.
 * Update: Added `ja` language file.

#### 0.1.1-BETA

 * In development
 * update readme

#### 0.1.0-BETA

 * In development

## 额外信息

 *  版本 **0.1.4**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/code-to-post/)
 * 标签
 * [develop](https://cn.wordpress.org/plugins/tags/develop/)[post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/code-to-post/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/code-to-post/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/code-to-post/reviews/)

## 贡献者

 *   [ Ryuta Sakai ](https://profiles.wordpress.org/ryutasakai/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/code-to-post/)