Custom Post Types and Custom Fields creator – WCK
Description
The WordPress Creation Kit consists of three tools that can help you create and maintain custom post types, custom taxonomies, and custom fields and metaboxes for your posts, pages, or custom post types.
The WCK Custom Fields Creator offers an interface for setting up custom meta boxes with various field types for your posts. You can show custom fields using code or with the Swift Templates module.
The WCK Custom Post Type Creator simplifies the process of creating custom post types by providing an interface for most of the arguments of the register_post_type function.
The WCK Taxonomy Creator allows you to easily create and edit custom taxonomies for WordPress without any programming knowledge.
With support for various custom field types, including WYSIWYG editors and file uploads, you can create custom fields for any post type. The plugin also supports Repeater Fields and Repeater Groups, allowing for a flexible data structure.
The PRO version offers additional features like Swift Templates for front-end template building, front-end posting capabilities, and more field types.
Other Notable Features
Here are a few other notable features of this free Custom Post Types and Custom Fields creator – WCK plugin.
Screenshots
FAQ
Let’s consider we have a meta box with the following arguments:
– Meta name: books
– Post Type: post
And we also have two fields defined:
– A text custom field with the Field Title: Book name
– And another text custom field with the Field Title: Author name
You will notice that slugs will automatically be created for the two text fields. For ‘Book name’ the slug will be ‘book-name’ and for ‘Author name’ the slug will be ‘author-name’
Let’s see what the code for displaying the meta box values in single.php of your theme would be:
<?php $books = get_post_meta( $post->ID, 'books', true ); foreach( $books as $book){ echo $book['book-name'] . '<br/>'; echo $book['author-name'] . '<br/>'; }?> So as you can see the Meta Name ‘books’ is used as the $key parameter of the function get_post_meta() and the slugs of the text fields are used as keys for the resulting array. Basically CFC stores the entries as custom fields in a multidimensional array. In our case the array would be:
<?php array( array( "book-name" => "The Hitchhiker's Guide To The Galaxy", "author-name" => "Douglas Adams" ), array( "book-name" => "Ender's Game", "author-name" => "Orson Scott Card" ) );?> This is true even for single entries.
Contributors and developers
“Custom Post Types and Custom Fields creator – WCK” is open source software. The following people have contributed to this plugin.
WPS
6.44
Average
Ratings
4.7 out of 5 | 97Version
2.3.8Last updated
7 months agoActive installations
10,000+WordPress version
6.8.3 or higherPHP version
or higherLanguages
2Tags
Custom Field,Custom Fields,Custom Post Type,Custom Post Types,Wordpress Custom FieldsOther plugins you might like
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager
By Syed Balkhi
WPS
7.51
Very Good
1.8k+reviews
active installation
Tested with
6.9.4Redux Framework
By David Anderson / Team Updraft
WPS
6.99
Average
272+reviews
active installation
Tested with
6.9.4Code Snippets
By Code Snippets Pro
WPS
7.3
Very Good
494+reviews
active installation
Tested with
6.9.4Meta Box
By Meta Box
WPS
7.02
Very Good
161+reviews
active installation
Tested with
6.9.4CMB2
By Justin Sternberg
WPS
6.98
Average
91+reviews
active installation
Tested with
6.4.8PHP Compatibility Checker
By WP Engine
WPS
6.77
Average
131+reviews
active installation
Tested with
6.4.8