• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

virusword.com

Learn Wordpress

  • Home
  • WordPress Shop
    • Fotopress
    • SEO Tool Kit
    • Social Contact
    • Tag Machine 2
    • Video Profits
  • Latest News
  • WordPress
    • Plugins
    • Themes
    • Tutorials
    • Videos
    • Woocommerce
  • About Us
  • Contact Us
    • Terms of Service
    • Privacy Policy
  • Show Search
Hide Search
Home/Videos/How To Create A WordPress Plugin for Custom Post Types

How To Create A WordPress Plugin for Custom Post Types



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

Written by:
Abdul Wahid
Published on:
April 2, 2021

Categories: VideosTags: create a wordpress plugin, create a wordpress plugin from scratch, creating wordpress plugin, how to create a wordpress plugin, how to create a wordpress plugin in php, how to create a wordpress plugin step by step, how to make a wordpress plugin, wordpress development for beginners, wordpress plugins, WPTuts

Reader Interactions

Comments

  1. SOARCH LA

    April 2, 2021 at 11:19 am

    Awesome…more, more, more

  2. ABEL

    April 2, 2021 at 11:19 am

    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.

  3. Dkena West

    April 2, 2021 at 11:19 am

    Building what customers we make use off..

  4. Dkena West

    April 2, 2021 at 11:19 am

    What site can one learn real project on wordpress

  5. Dkena West

    April 2, 2021 at 11:19 am

    Sir where can I learn how to build different project real project on plugin wordpress,
    site or video on how to build reusable project

  6. Aman Pandey

    April 2, 2021 at 11:19 am

    Please share you text file where you copy code

  7. robert longoria

    April 2, 2021 at 11:19 am

    Thanks right info, right time. Your are a mensch. Blessing.

  8. Home to Castle

    April 2, 2021 at 11:19 am

    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.

  9. Alvaro Diaz Castro

    April 2, 2021 at 11:19 am

    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!

  10. OCMetals

    April 2, 2021 at 11:19 am

    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.

  11. Carlos Lema

    April 2, 2021 at 11:19 am

    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?

  12. Yalpel

    April 2, 2021 at 11:19 am

    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?

  13. Paul Sherman

    April 2, 2021 at 11:19 am

    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.

  14. Matthew

    April 2, 2021 at 11:19 am

    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.

  15. Visualmodo

    April 2, 2021 at 11:19 am

    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! 👨‍❤️‍💋‍👨💌📷🎥❤️💍😍

  16. Muhammad Adil

    April 2, 2021 at 11:19 am

    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!

  17. Kapil Oraskar

    April 2, 2021 at 11:19 am

    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

  18. Jacinto Pinto

    April 2, 2021 at 11:19 am

    Great video. Question. What is best as localhost server? XAMPP or LocalWP by Flywheel? For Windows 10.

  19. Saxirlo- IT

    April 2, 2021 at 11:19 am

    Thanks, Paul this awesome

  20. Ashkan Ahmadi

    April 2, 2021 at 11:19 am

    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

  21. Paul Letourneau

    April 2, 2021 at 11:19 am

    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.

  22. Andy Montgomery

    April 2, 2021 at 11:19 am

    Another great tutorial – thanks!

  23. Majid majid

    April 2, 2021 at 11:19 am

    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

  24. Alessio Palmieri

    April 2, 2021 at 11:19 am

    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😉

  25. MrKhaki

    April 2, 2021 at 11:19 am

    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)?

  26. pahtashow

    April 2, 2021 at 11:19 am

    The theory for all that CPTs and parent-child categories hierarchy stuff is relational databases ?

  27. Susan Gemayel-Tapper

    April 2, 2021 at 11:19 am

    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

  28. Ashkan Ahmadi

    April 2, 2021 at 11:19 am

    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

  29. Mdazhardware

    April 2, 2021 at 11:19 am

    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.

  30. George Iashvili

    April 2, 2021 at 11:19 am

    Great, Paul! It would be amazing to have more videos like this!

  31. Dave Denis

    April 2, 2021 at 11:19 am

    Maybe I missed it but was there a video about creating the Options page under Vehicles?

Primary Sidebar

Wordpress

  • Content Management Systems (2)
  • Digital Marketing (4)
  • Internet Marketing (28)
  • Latest News (458)
  • Online Business (2)
  • Plugins (519)
  • Themes (521)
  • Videos (1,350)
  • Website Development (1)
  • Woocommerce (589)
  • WordPress (6)

Recent Articles

Unlock Your Internet Marketing Potential with WordPress: Tips, Tools, and Strategies

How to Use WordPress to Achieve Your Internet …

Continue Reading about Unlock Your Internet Marketing Potential with WordPress: Tips, Tools, and Strategies

Unlock Your Internet Marketing Potential: Harnessing the Power of WordPress

How to Use WordPress to Achieve Your Internet …

Continue Reading about Unlock Your Internet Marketing Potential: Harnessing the Power of WordPress

Search our site

Explore more

Get our Wordpress Guide Get Plugins Get Connected

Footer

VirusWord by Promaps, Inc.

Barnes Place
Colombo 7, Western 00700

Copyright © 2025 · Promaps, Inc.

Keep In Touch

  • Email
  • Facebook
  • Instagram
  • Pinterest
  • Twitter