Code To Post

Import static Html to post content

Author:Ryuta Sakai (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:5.3.3
Plugin version:0.1.4
Added to WordPress repository:17-07-2019
Last updated:13-12-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:708
plugin download
Click to start download

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


Screenshots
ChangeLog