Skip to Main Content

How to create custom post types and more

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

How to create custom post types and more

Today we're going to take a look at the Word Creation Kit or (WCK), a plugin for CozmosLabs, which is a team of developers based in Timişoara, Romania. WCK allows you to easily create custom post types and custom taxonomies, as well as posting submission form templates to your WordPress blog.

Although you can create these elements with WordPress simply, this plugin provides a visual editor  which allows you to work without having to modify the theme code files. This allows you to achieve the desired result much faster, as well as reducing the risk of errors that occur when modifying code.

If you need to create custom post types, custom fields, as well as submission forms, archive, and post templates, then the WordPress Creation Kit plugin of its real name might be just what you need.

Alternatively, if you want to find out more about custom post types, taxonomies and custom fields, so this article and your will give you some examples and tips to help you get a better understanding of this plugin, while we detail the features of this plugin.

To find out if this plugin is right for you, and if it has the potential to solve your problems and speed up your workflow, here is our review of WordPress creative kit.

WordPress-Creation-Kit-Review

1. But what is WordPress Creative Kit?

As mentioned, this plugin allows you to work with custom post types, custom fields, and other ways to organize your content. It has a few separate modules which can be individually enabled or disabled as needed.

We are going to cover the main modules in detail during this review, just to give you an idea of ​​how big this product is.

Here are the main components of this plugin:

    • Post types creator
    • Creator of the taxonomy
    • Creator of custom fields and Meta Boxes
    • Frontend post (visible part of a blog)
    • Pages Creator Option
    • Field Creator Option
    • Swift Models

The above should give you an idea of ​​what this plugin was created for, but to find out in more detail, here is our review of the WCK plugin, according to the different components of the latter.

2.the creator of Type of personalized posts

Many plugins and themes come with ready-to-use types of custom posts, which are usually modified versions of regular WordPress post types. Plugins like eCommerce, WooCommerce, are good examples of the fact that they use a type of custom post (usually) called "product" to create and publish each of the products listed on a site, blog, or store.

An example where you may need to create a custom post type for your blog would be if you were writing comments. You can create a custom post type called "Reviews" and every time you write a new review, instead of doing it as an article or page in WordPress, you can use your newly created custom post type.

The advantage of doing so is that a custom post style can have its own layout and design; as well as its own categories and keywords or taxonomies as long as they are correctly identified; they can also have their own custom fields to store additional information.

Creating custom post types manually can be time consuming, as well as an error-prone activity. Have a quick and easy way to do it can be very convenient. This is where WCK comes in. One of the tools that includes a custom post type creator.

With this tool, you can create custom post types very easily. In fact, it's all about filling in a few fields and checkboxes and you're done.

Once you're done, you'll see a new item added to the menu on the admin dashboard sidebar. This allows you to create and manage content using this new type of personalized posts.

3. Custom Fields and Meta Box Creator

WCK also allows you to create custom fields and metaboxes, in which they are contained. These can be available on any post type of your choice.

Custom fields allow you to store structured data relating to your posts. For products, this might include data such as price, or for reviews, it might contain information about the item being reviewed.

The process of creating a custom field includes first creating a Meta box, which will contain the fields, and then creating the fields themselves.

WCK-Meta Box Creator-01

Each meta box can have multiple custom fields. For example, you can create a meta box, called "product information", with custom fields, including price, weight, size, etc. The data entry fields can take many forms including:

    • texts
    • Checkboxes
    • Download
    • WSYWIG Editor
    • Date picker

Trick : When creating checkboxes or types with multiple options that are comma separated, remember not to include a trailing comma or there may be a blank item on the list.

Once you've created your meta box and the custom fields that will appear in it, the next time you want to create a post type associated with that meta box, you should see more content on the "Add New Post" page. ".

WCK-Meta Box Creator-02

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

With WCK you can easily create repeater fields, which means that the user can reuse a custom field several times on the same computer, each time with different data stored in it.

An example of this can be the materials used to build a product, with each material being listed in a separate instance of the custom material fields. The user could then interrupt material validation until he entered all the data relevant to the product.

WCK-Custom-Fields-Repeater

Again, WCK, can create custom repeater fields, as well as groups of controls repeaters, with this is a feature that is not included in a lot of other plugins that allow you to create custom fields.

After you have created your custom fields and then created a new post and entered data into those fields, you might get a surprise by viewing the published post. This is because the data kept in these fields do not actually display.

This is because the new field should not have been encoded in the theme files that are used to display WordPress posts. This means that your theme doesn't know that they exist or how to display them.

In order to display the data contained in a custom posts field, a new template will need to be created. Fortunately, WCK has a model generator which we will talk about a bit later in this article, before first of all we will create one of the most items  important For our new post types.

4. The creation of personalized Taxonomy

WordPress categories and keywords make up the taxonomy. With WCK, you can easily create custom labels and categories that can be applied to regular posts or your newly created types of custom posts. This taxonomy gives you another option to categorize and organize your content.

Again using the online store example, you can create a custom category called "Product Type" which is only available for posts created using the custom post type "Products". So when you create a new product, you can give it a product category, such as: clothes, shoes, or whatever best describes your product.

Then when a user browses your store, they can click on a category to view all the products of that type of products. Like this custom taxonomy works independently of ordinary WordPress categories and keywords, you can always use these to organize your regular product content, such as blog posts.

When it comes to creating this custom taxonomy, WCK once again makes the task very easy. You can give your taxonomy a name and then assign what types of posts can use it. You can also choose to make them work as categories with a top-down hierarchical structure, or in a flat structure like keywords.

WCK-Custom-Taxonomy-Creator

At this point you have  only created the type of taxonomy and not the individual tags or categories that will be applied to posts. Once the taxonomy type is created, it can be managed in the WCK menu that has been added.

 WCK-Custom-Taxonomy-Creator-02

From there you can create the categories / keywords for this type of taxonomy.

WCK-Custom-Taxonomy-Creator-03

Then, when you create a new post, additional categories / keywords can be created or existing ones can be assigned to the post.

WCK-Custom-Taxonomy-Creator-04

This allows you to better organize your custom post types, or the default post type, with the ability to add more ways to categorize posts. It also gives you more options to display and filter on the frontend of your blog.

5. SWIFT models

Another feature of WCK is the Swift model. This feature was alluded to earlier, and it allows you to build WordPress templates without writing PHP code.

Even for proficient PHP developers it can be a time saver, but for the basic user it can be a lifeline.

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

With Swift Templates, you can create a template that can list all of your custom post types, as well as any custom field or meta box data you've created.

In addition to creating these archive templates this list of multiple posts, you can also create unique post templates which are used to display all the content of a single post, including all data from the custom fields, which we created earlier.

For example, if you have created a custom field that lists the size of a product, at the moment when you view the product post, its data will not be displayed. It is with the building a new post model  including this field the data will be displayed.

Also, if you have created a custom taxonomy, for example a category that is applied to all of your reviews, let's call it "Restaurant Reviews", you can then use WCK to create a template that lists an archive for that category. This will show all the posts in that category, allowing your readers to view them and click to go.

Using this template generator, you can avoid digging into WordPress code and working with them  WordPress loops , hierarchical models  et WP_Query. templates can be built through your site's admin dashboard, making the whole process much more intuitive and straightforward.

When it comes to creating a model, the process is not too complicated to master. First give your template a name, then select the type of post it will work on.

WCK-Swift-Template-01

Then configure the arguments of the request. This will tell the model which post defined previously to display and how to present it. This can include things like posts by: author, particular category, year. You can also set the order and how to order them like by date.

WCK-Swift-Template-02

After the arguments of the request, it is a question of creating the model which will determine which parts of the post (for example the title, content, custom fields, etc.) will be displayed on the page. There are two types of template that can be created: the single post template, or the archive post template that displays a count of posts of a certain type.

When you create the models, you can Just copy the tags from the list of variables available in the editing area. Tags for custom fields, or taxonomies are listed allowing you to insert them inside the template in the location of your choice.

WCK-Swift-Template-03

While you don't need to write all of the PHP to create the template, you will need to be familiar with the variables and understand which part of the post they refer to. Also, if you want the templates to be all formatted, you should add some HTML and CSS codes.

While the editor allows you to easily create a template for your new custom post types and their archive page, it will take time and effort to get them to the level you want.

6. Frontend display

Another interesting task you can do with this plugin is to allow the frontend to your WordPress blog. This allows other users to create a post from your site's interface, without having to log into the WordPress admin dashboard.

It's a lot more Practices because it includes permission for visitors to your site to submit content, such as commenting posts, adding information.

With WCK, you can create forms that allow users to submit content through the WordPress interface. When you create the form, the WCK tool lets you choose what type of post content will be stored there in and the form fields, including any custom fields you create.

WCK-Frontend-01

Some of the options allow you to include or not to allow anonymous publication and if appropriate, to require administrator approval before publishing a post or not.

WCK-Frontend-02

After creating the form, it can then be embedded in a WordPress post or page using shortcodes.

WCK-Frontend-03

Once a post has been submitted, it will be added to the WordPress server where it can be published, edited, or deleted by a user with the administrator or editor user role.

This is finally all that our WCK plugin user guide. Read on to learn more about the pricing options and our final thoughts on the plugin.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

7. pricing

There are three versions of the WordPress Creative Kit plugin:

The version we used for this guide was the pro version. You can have a comparison of the features of the different versions on this page.

Conclusion

Hope what you have done so far has helped you get some useful tips on creating custom post types, custom taxonomies, custom fields, creating page templates, and even adding frontend forms for your blog.

By using the WordPress Creation Kit plugin, you can simplify all of the above tasks and their creation through the WordPress admin dashboard area. The interface of this plugin was built using the native WordPress UI, which creates a seamless user experience between the basic features of WordPress and the tools added to your blog with this plugin.

With three versions to choose from, including a free option, there's no reason not to use WCK to start experimenting with custom post types and taxonomies to better organize, manage, and present your content.

For the more experienced or adventurous users the pro features, such as Swift templates and the post submission frontend will be of great interest to you.

If you want to start working with custom post types, custom fields, and taxonomies, or you just want an easier way to work with them, then the WordPress Creation Kit plugin is highly recommended.

What do you think of this plugin? What are your thoughts on the WCK plugin? Please let us know your ideas in the comments below.

This article features 2 comments

Leave a comment

Your email address will not be published. Required fields are marked with *

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
8 shares
Share8
tweet
Save