Home Plugins code to post
Code To Post logo

Code To Post

by Ryuta Sakai on WordPress.org

Import static Html to post content.

(0)
congiguration

congiguration

⚠️ 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

Active installations10+
Weekly downloads
9-30.77%
Version0.1.4
Last updated12/13/2019
WordPress version5.0
Tested up to5.3.18
PHP version7.0
Tags
developpost