Skip to content

rkwebproject/Post-Type-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Post-Type-Generator

Generate multiple Post Type

Include post_type.php in your theme function file

Add this code to function

$arg= array(
        "post_type"=>"your-post-type", 
        "title"=>"Your Post Title", 
        "plural_title"=>"Your Post plural",  
        'supports'=> array( 
                        'title', 
                        'editor', 
                        'excerpt', 
                        'author', 
                        'thumbnail', 
                        'comments', 
                        'trackbacks', 
                        'revisions', 
                        'custom-fields', 
                        'page-attributes', 
                        'post-formats', 
                        'taxonomies'=>array("category")
                        )
        );
        
  new Generate_Custom_Post_Type($arg);

About

Generate multiple Post Type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages