How To Create A WordPress Plugin for Custom Post Types.
If you’re looking for an easy way to create and manage Custom Post Types in WordPress but don’t want to add the code to your functions.php file; this guide is for you.
Learn how to create your first WordPress plugin and add in all your Custom Post Types, Taxonomies and Options pages.
Don’t know where to start with all that code stuff? No worries, I’ll show you 3 simple methods to get all the required code without typing a single line!
Better still, it’s all 100% free and easy to implement.
► Resources Mentioned: ◄
GenerateWP: https://generatewp.com/
WP Hasty: https://www.wp-hasty.com/
Take your WordPress website and skills to the next level!
► THE TOOLS I LOVE ◄
If you like what we do and would like to support us, please consider using these affiliate links when purchasing any of the plugins covered in our tutorials. Thank you for your support.
► WORDPRESS VISUAL PAGE BUILDERS ◄
★ ELEMENTOR PRO: http://bit.ly/2u3mzYX
★ Brizy Pro: https://bit.ly/2Ji97r8
★ WPBakery Page Builder (Formerly VISUAL COMPOSER): https://bit.ly/2NVbVNP
★ DIVI 3 Page Builder: http://bit.ly/2HiiDcE
► WORDPRESS THEMES ◄
★ GeneratePress Premium: http://bit.ly/2Ydn1SE
★ OCEANWP: http://bit.ly/2fRHBr0
★ DIVI Theme: http://bit.ly/2G8JMiA
★ Astra Pro: http://bit.ly/2zruoKn
► WORDPRESS TOOLS ◄
★ SMART SLIDER 3: http://bit.ly/2G0G1vB
★ CSSHERO: http://bit.ly/2qbrRl6
★ SLIDER REVOLUTION 6 – jo.my/sr6
► SUBSCRIBE ◄
http://bit.ly/2rX7rhu
► LETS CONNECT: ◄
https://twitter.com/WPTutz
SUPPORT: Our website offers additional information and perks. Please check it out! http://wptuts.co.uk
source
SOARCH LA
Awesome…more, more, more
ABEL
I gotta say, you are a god, I never even realized the content generators existed.
The only word that came to mind when trying to make the plugin i want for my website is "PAIN!" now it's not so bad.
Thank you so much for the video and those incredible resources.
Dkena West
Building what customers we make use off..
Dkena West
What site can one learn real project on wordpress
Dkena West
Sir where can I learn how to build different project real project on plugin wordpress,
site or video on how to build reusable project
Aman Pandey
Please share you text file where you copy code
robert longoria
Thanks right info, right time. Your are a mensch. Blessing.
Home to Castle
Thank you for this great tutorial, Paul. This has now opened up a whole new dimension of what I can do and I would love to see more tutorials on this subject and the two sites you mentioned.
Alvaro Diaz Castro
That's a great way to show how to solve some real WP project needs. Thanks. Actually right now I'm searching for a plugin to work as a tiny document manager in WP. I think first problem is solved with your video. Custom Post Types to create Documents with their own taxonomies, date, authors, cover image, file size, excerpt, content classification. The other one is to search and filter by all those taxonomies. I don't want to depend on a subscribing model for that. It's also for a client who will not be interested in paying each year for plugins updates. How future proof is this method? Thanks!
OCMetals
I've tried watching a few videos on plugin dev and this is the best one I've seen for a complete newbie. It demystified it completely. Thank you very much.
Carlos Lema
Paul, I started watching your videos — this one is by far the best — absolutely brilliant!
You can make it even better by sharing the plugin's final code (Github).
BTW, How can you make play nice with Elementor Pro?
Yalpel
Thanks for the video, does this affect the speed of the site and the number of requests compared to the use of CPTUI and ACF?
Paul Sherman
Hey Paul, awesome video! I would like to take this one step further. I would like to create a plugin that has all my productivity functions with options to turn them on and off. I would like to have a field where I can enter my Google Analytics UA code so I can insert the full script in the header. I have all these functions written already, and a plugin to load them, I just want to know how to create a simple form to set the settings for them. I look forward to the possibility of your covering this.
Matthew
can a person make a slider for the wordpress project function? I have a whole system in the project part of my wordpress site and would like to make the images vertical and or horizontal. I asked wordpress directly, and their answer was "we will look into it", that was a long long time ago.
Visualmodo
Wedding WordPress theme – Smart responsive events and celebration WordPress theme. Build any wedding website design without coding with our clean, modern, stylish, landing-page and photography template https://visualmodo.com/theme/wedding-wordpress-theme/
Build your own wedding website with Visualmodo WordPress themes! 👨❤️💋👨💌📷🎥❤️💍😍
Muhammad Adil
Hi Paul, please make some more videos on how to write functions, how to create plugins. I have been following you for so long & you inspire me a lot. Big thanks to you!
Kapil Oraskar
Hi this is Kapil Oraskar from Mumbai India. pls tell me how can i Sell Mobile Phone Covers on Woocommerce. Too many Brands and Model no. to handle
any ideas or examples set by ppl. any plugin like Addons (actually addons don't work well I think)
I want my Design as a product and BRAND and MODEL no as Variation or addon. otherwise, it is too many products to handle!
any suggestions are wellcome
Jacinto Pinto
Great video. Question. What is best as localhost server? XAMPP or LocalWP by Flywheel? For Windows 10.
Saxirlo- IT
Thanks, Paul this awesome
Ashkan Ahmadi
Hi again. I have been using Toolset for a long time now and I would like to switch to ACFPRO. Do you recommend switching? Is there any safe way to move my custom fields from Toolset to ACF? Thanks
Paul Letourneau
Love this! Thanks Paul! I can see this being very useful for repetitive code that we use for every client site. Things like post types, disable comments, etc.
Andy Montgomery
Another great tutorial – thanks!
Majid majid
great work thank you for all. I have a question how to create an appointment booking and how can integrate it in each member registered in the site.? Thanks for all
Alessio Palmieri
WOW, very interesting tutorial, as always 👏🏻👏🏻👏🏻 , I see you very inspired in these latest videos😂. Even better (but perhaps more complex) would be to be able to replace those strings, in which the various taxonomies are contained, variables that can be defined with an input. In this way you could add new fields without entering in plugin editor.
Last question: would it be possible to integrate this plugin with the instructions to create the custom dashboard on the Hello theme (bypassing the canonical WordPress one) as you explained in the video https://youtu.be/06owBb23UiQ? in this way, with a single plugin we would solve many problems of creating a new job😉
MrKhaki
Great video and tip!
I do wonder how one would break different post types into separate php files for easier editing/versioning. You could create separate plugins per cpt, but I would rather have one plugin with individual files. Any pointers on how to accomplish (for the non-programmer)?
pahtashow
The theory for all that CPTs and parent-child categories hierarchy stuff is relational databases ?
Susan Gemayel-Tapper
WOW … not sure I'm there yet, but being optimistic that one day I will be at the stage where I will watch this video again and follow along LOL
Ashkan Ahmadi
Hi. Thanks great info as usual. What about dynamic info when using Elementor?
I have another question if you don't mind. What membership plugin do you recommend? We have a discount card and different events on our website and we want to set up that if something registers and buys the discount card, they get access to cheaper event prices. Very similar to Amazon Prime where the certain users gets special/cheaper prices. I have found WC Memberships for now. Any recommendations? Thank you
Mdazhardware
Thanks Paul for this clean and awesome tutorial, i would like to ask if you could do a video about these 2 site it would be highly appreciated, Thanks.
George Iashvili
Great, Paul! It would be amazing to have more videos like this!
Dave Denis
Maybe I missed it but was there a video about creating the Options page under Vehicles?