Custom Post Types
Create Custom Posts in Wordpress with code quickly (Wordpress, Custom Post)
by Jull Weber · github.com/mkykode/mka-quick-custom-posts · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mkykode/mka-quick-custom-posts/archive/refs/heads/master.zipFrom the readme
Quick Custom Posts
Quickly Create Custom Posts in Wordpress.
Download to plugins folder and activate.
In the quickcustomposts function:
Define your textdomain in the $textdomain variable.
Define the options.
Use make function to create the custom post type (handle, singular name, plural name).
$custompost1-make( 'cpt', 'CPT', 'CPTs', $settingscustompost1 );
Add your new custom post type to the main loop.