Loading...
banner plugin Image
woo-image

Custom Post Types and Custom Fields creator – WCK

By madalin.ungureanu

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.

check-fill
Custom Field
check-fill
Custom Post Type
check-fill
Custom Fields

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
Exclamation-Image

6.44

Average

Star-Image

Ratings

4.7 out of 5 | 97
History-Image

Version

2.3.8
calendar-Image

Last updated

7 months ago
Star-Image

Active installations

10,000+
Star-Image

WordPress version

6.8.3 or higher
php-Image

PHP version

or higher
translate-Image

Languages

2

Tags

Custom Field,Custom Fields,Custom Post Type,Custom Post Types,Wordpress Custom Fields