How To Create Custom Post Type In WordPress | Tutorial for Beginners

To create your custom post type, please follow these two steps.

Step – 1 ( Open custom plugin’s any php file )

Open your plugin’s any php file which is related to your setting up data for the custom plugin.

Step – 2 ( Add code )

Add below code to that file.

https://gist.github.com/BhargavBhandari90/fc24d41a05298b1d800a4ed7930a2072

 

Video Explanation

Related Articles

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.