Create Custom Post Types with the CPT-UI plugin

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Update: I've stopped using WordPress. If you are interesting making sites with HTML, CSS and a smidge of JS I'm posting video here: / @noscriptshow .
    Other similar videos will come to this channel later.
    --------------------------------------------------------------------------------------------------------
    This WordPress video is on creating Custom Post Types and Taxonomies with the free Custom Post Type UI plugin.
    It's part of loose series I am doing on Beaver Builder and Beaver Themer, but also stands alone.

ความคิดเห็น • 112

  • @NinaKatharinaWeber
    @NinaKatharinaWeber 23 วันที่ผ่านมา

    Thank you so much for the video. Still works like a charm 6 years later. 🙂
    The thing I am stumbling over as a newb: I activated "custom fields", but now struggle how to actually add custom fields to that Custom Post Type. I am trying to recreate a (now defunct) Author Wordpress Theme that used Custom Post Types "Books" where you would fill in custom fields and then could call up e.g. the covers of a specific series or genre with a short code.

  • @MarkMatthewsNJ
    @MarkMatthewsNJ 3 ปีที่แล้ว

    Thank you.. within 90 seconds my problem was answered. Completely new to CPT-UI, I had created a new Post Type.. and had no idea how to create a new post with it... was completely overlooking it sitting in the Dashboard menu

  • @justindoyle
    @justindoyle 5 ปีที่แล้ว +1

    Brilliant! Thank you so much for this! I was searching google for an hour on how to do this and then it brought me here! This is perfect
    for my podcasts page. These steps showed me exactly how to do it! God Bless you!

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว +1

      Wow, that is great to here. Thanks so much for taking the time to comment.

    • @hermen2525
      @hermen2525 4 ปีที่แล้ว

      Hi, Justin! I'm working on the same kind of project, a Podcast page. I hope/think your page is allready finisht. I'm really curious to the result! What is the url of the page? And can i send you a email for some more question?

  • @miksologia
    @miksologia ปีที่แล้ว

    Oh man! Finally a video that helped me understand how this works. Thank you so much!

    • @DavidWaumsley
      @DavidWaumsley  ปีที่แล้ว +1

      Thank you. That is so kind of you and appreciated. All the best David

  • @WebAssist-Sites
    @WebAssist-Sites 6 ปีที่แล้ว +2

    Your production value is increasing, good job David, I'm impressed and enjoying your videos more and more.
    Thanks for taking the time to make this video, it's really needed as CPT UI's options are really confusing. I recently had a friend who's a PHP developer who's moved over to WordPress and in fact h as been using WP now for quite a while, when starting to use CPT UI, was thoroughly confused with the options, especially use cases for taxonomies.

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว +1

      Wow thanks. The production value. Yeah that was a temporary blip! Ha ha. I thought I would up my game with a new approach. I failed and went back to going for one take. I don't know about you but they always seems to take longer that I expect.
      For me, it seems to be endless fails before I can get past one minute. After that It's straight though with perhaps one or two edits after. I think the easiest is when I leave the cam on all though and don't edit. Hard not to trip over words without sounding like a robot. At least for me.
      I did really want to do this video, but the other I saw on this all missed something I thought was key to what I trying to do with Beaver themer videos.

    • @WebAssist-Sites
      @WebAssist-Sites 6 ปีที่แล้ว +1

      Indeed making video's is a timely process, even more so than blog posts and just about anything else.
      As for me, I rarely manage everything in one take, so end up editing in post production to get things right.

  • @rizafarheen7262
    @rizafarheen7262 ปีที่แล้ว

    Such a great explanation. Thanks David.

  • @annettekempers6213
    @annettekempers6213 6 ปีที่แล้ว +1

    Thank you, I had just been struggling a bit with the interface. But now I know more about how to set it up properly!

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว +1

      And thank you too Annette. It's good to feel I have not made it more confusing.

  • @blal
    @blal 2 ปีที่แล้ว

    This is very helpful, thanks for your time and video.

  • @Peterstavrou
    @Peterstavrou 3 ปีที่แล้ว +1

    Great video! Thanks heaps for taking the time to make it :)

  • @AndyMontgomeryPiano
    @AndyMontgomeryPiano 4 ปีที่แล้ว +1

    Great video David - Thanks for sharing, helped me a lot!

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      Cheers Andy. Thanks for taking the time.

  • @georgesabapathy2508
    @georgesabapathy2508 4 ปีที่แล้ว

    Really clear and simple instructions - Thank you!

  • @angellolopezaguayo
    @angellolopezaguayo 3 ปีที่แล้ว

    From Chile,
    Big thank you my friend!

  • @monjesmedia
    @monjesmedia 5 ปีที่แล้ว +1

    Great video. Thank you for sharing, David!

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว +1

      Much appreciated Adrian :-)

  • @LG-gt3fu
    @LG-gt3fu 5 ปีที่แล้ว +1

    Best explained video ever....thank you!!!

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว

      Blimey, how did I miss your comment? Thank you so much Lorelei :-)

  • @monjesmedia
    @monjesmedia 6 ปีที่แล้ว

    Thank you, David! Great video.

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว

      Cheers Adrian. Always nice to see you :-)

  • @colinosullivan930
    @colinosullivan930 5 ปีที่แล้ว

    THanks for the video. Helpful.

  • @brianrozar6598
    @brianrozar6598 6 ปีที่แล้ว +1

    Easy to follow the tutorial. I am having a question on how the taxonomies work with trying to add them to categories. I tried turning the Hierarchy to true but like you did in the video but it does not show up in my category menu on the CPT

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว +1

      Thanks Brian. Did you do the last bit at 16:31? Setting the hierarchy to "true" means that taxonomy will behave like categories. Leaving it as false and it will behave like tags.

  • @beautyIsinEverything753
    @beautyIsinEverything753 3 ปีที่แล้ว

    very helpful and nice

  • @biankapatriciatoth8675
    @biankapatriciatoth8675 5 ปีที่แล้ว +1

    great tutorial, thanks!

  • @Waleed_Qureshi
    @Waleed_Qureshi 3 ปีที่แล้ว

    Thankyou for this.

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 5 ปีที่แล้ว

    Thanks sir all advance CPF plugins explains us how to use without elementor pro but free. ...

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว

      Sorry for the late response. I don't use Elementor Pro so can't help there.

  • @sudhakarmaddela5698
    @sudhakarmaddela5698 5 ปีที่แล้ว +1

    100th like by me! And thanks for the help.

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว

      Wow, I have 100 likes. I am amazed. Thanks, Sudhakar.

  • @karinageertsen2798
    @karinageertsen2798 5 ปีที่แล้ว

    Thanks! - This is great...

  • @RyanCloverOwens
    @RyanCloverOwens 5 ปีที่แล้ว

    Thanks David, this was really informative. What if I want to use the Custom Post type I created as a taxonomy for products? It's "artists" being assigned to product which is art. Thanks!

  • @rogerdudelibowsky9382
    @rogerdudelibowsky9382 4 ปีที่แล้ว

    I David, thanks for this great tutorial !
    Can you tell me what you used to set 4 columns in your products page ?

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      Thank you. I use Beaver Builder (with Beaver Themer) for laying out the Custom Post Types (via it's posts module. Other videos on Beaver Builders covered that side of things, but many other Page Builders do the same now.
      If not using a page builder it can be more complex.

    • @rogerdudelibowsky9382
      @rogerdudelibowsky9382 4 ปีที่แล้ว

      @@DavidWaumsley Tank you David !

  • @mikkmeerents6249
    @mikkmeerents6249 4 ปีที่แล้ว +1

    Hi! I do not understand how you are displaying these products on a "Products" menu link? I just can't figure it our. I did create custom post type but I cant seem to connect this to certain page.

    • @christinagousiou4793
      @christinagousiou4793 4 ปีที่แล้ว

      Hi @Mikk Meerents, I hope that you have already found a solution, but if not I am sharing my own.
      I had the same question, then I thought that I could add the post type to the menu as a custom link.
      For example if you have a product type named "laptops" and its slug is "laptop", you take the url "yoursite/laptop", go to the Appearance > Menus, choose the menu you want it to and below Pages you go to Custom Links.
      There you paste the url and choose a Link Text that you like and you click "Add to Menu".

  • @etic86
    @etic86 หลายเดือนก่อน

    I try to find documentation about this, but i count find one.
    I have 3 different Custom Post Types with the CPT-UI, which act like a product catalog. Now my client wants to transform the website into an ecommerce site.
    Do I have to migrate the products into WooCommerce post types or do the CPT-UI have an alternative configuration?
    PD: I didnt build the web site so Im asiking

    • @DavidWaumsley
      @DavidWaumsley  หลายเดือนก่อน

      I think you would have to migrate the products into WooCommerce post types, but I am out of touch with both plugins. Sorry.

  • @hoopstalkcentral
    @hoopstalkcentral 2 ปีที่แล้ว

    you never showed how you added the custom fields like prices etc

  • @RizwanAhmed-td6hf
    @RizwanAhmed-td6hf 6 ปีที่แล้ว

    Superb

  • @codechamps9994
    @codechamps9994 5 ปีที่แล้ว +1

    thanks

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว

      Cheers Faisal. Thanks for watching :)

  • @geoffrey.gordon
    @geoffrey.gordon 6 ปีที่แล้ว +1

    Very nice ... seems simpler than pods, does it work with beaver thermer ?

    • @WebAssist-Sites
      @WebAssist-Sites 6 ปีที่แล้ว

      Indeed it does work with Beaver Themer. I find PODS a little simpler than CPT UI, funny how differently we experience things. Perhaps it's the custom fields in PODS that you find add more complexity, as CPT UI only deals with custom post types and taxonomies and no custom fields.

    • @geoffrey.gordon
      @geoffrey.gordon 6 ปีที่แล้ว +1

      Gotcha so that's the key difference. so if you want a simple post type then CPT UI works good, but if you want custom fields and posts, then Pods is better.

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว

      Yeah, definitely works. It is just registering things so in fact you could create the CPT's with this plugin and swap it for Pod or your own plugin later. I did this video as a standalone, but in fact it so I can add it to my loose series on Beaver Themer.
      I'm more familiar with this plugin and ACF, but I hope to get to help from Bernhard Gronau on doing some Pods videos. I'm not sure how much I will do though as I have settled on ACF personally.

    • @WebAssist-Sites
      @WebAssist-Sites 6 ปีที่แล้ว +1

      Not necessarily, use whatever tool you prefer. E.g. with CPT UI I'll use Advanced Custom Fields and with PODS nothing additional is necessary. ACF is a really polished product, more so than the PODS fields, but PODS is all in one, so again, whatever you feel comfortable with, use that tool.

    • @geoffrey.gordon
      @geoffrey.gordon 6 ปีที่แล้ว +2

      ahhh, that actually sums it up nicely. I bought acf , but don't use it because it lacks custom posts or taximonies, but with this plugin. it will create the missing link i needed. thanks.

  • @mamtachoudhary602
    @mamtachoudhary602 4 ปีที่แล้ว +1

    how can i add upload image field in category texonomy

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      Mamta. You may want to look the fields plugins there are. I use this wordpress.org/plugins/advanced-custom-fields/

  • @Guigui_82
    @Guigui_82 4 ปีที่แล้ว

    Nice video, thank you! But how do I add the newly created post type to my main menu?

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      Thank you. You would need to add the URL with the custom link option in your WP menu. So yourdomain.com/cpt-name here: cloud.wpcornershop.com/9ZuAZKAN. Any help?

  • @ahmed-Alziyadi
    @ahmed-Alziyadi ปีที่แล้ว

    How did you disaplay them in front page?

  • @apriadinurkurniawan8801
    @apriadinurkurniawan8801 4 ปีที่แล้ว +1

    Hi! do you know how to show the sidebar option? i used The7 theme and in my posts have the sidebar option (left, right, or disabled). Thank you

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      Sorry I don't. This is something specific to your theme and I don't know it.

  • @TheJesh
    @TheJesh 3 ปีที่แล้ว

    Great video. I have a question, if I had custom post types with data and I activated those with a plug-in that is now obsolete, can I retrieve those post if I recreate those post types in this plugin?

    • @DavidWaumsley
      @DavidWaumsley  3 ปีที่แล้ว

      Thanks Jesh. Yes it should do unless that plugin did something strange to the data. I have switched the CPT-UI to my own plugin and also the Pods plugin with no issues. Best of luck.

  • @jone7414
    @jone7414 4 หลายเดือนก่อน

    David, why would you get at 2:53 the text blok while on mine I don't ?

    • @DavidWaumsley
      @DavidWaumsley  4 หลายเดือนก่อน

      This is quite old and is showing the WordPress classic editor rather than the newer (Gutenberg) block editor. I don't use WordPress as much, but I still go back to the classic editor with this plugin wordpress.org/plugins/disable-gutenberg/

  • @joseantonioortizsanchezpri1931
    @joseantonioortizsanchezpri1931 2 ปีที่แล้ว

    I don't know if it's CPT-UI related but, how did you managed to do these "Cake nX" posts in both versions (page and image-button)?

  • @Salamaleikum80
    @Salamaleikum80 2 ปีที่แล้ว +1

    Can you design loops with CPTUI?

    • @DavidWaumsley
      @DavidWaumsley  2 ปีที่แล้ว

      Sadly it can't do anything like that.

    • @Salamaleikum80
      @Salamaleikum80 2 ปีที่แล้ว

      @@DavidWaumsley What would you use to design the loops instead?

    • @DavidWaumsley
      @DavidWaumsley  2 ปีที่แล้ว

      @@Salamaleikum80 I do it the Beaver Builder and Beaver Themer.

    • @Salamaleikum80
      @Salamaleikum80 2 ปีที่แล้ว

      @@DavidWaumsley thx

  • @shanebrennan4657
    @shanebrennan4657 2 ปีที่แล้ว

    Because of all the options, does this not mean that the plugin is very heavy for a plugin on your site for a simple use?

    • @DavidWaumsley
      @DavidWaumsley  2 ปีที่แล้ว

      Great question. No, not at all see here: wphive.com/plugins/custom-post-type-ui/

    • @DavidWaumsley
      @DavidWaumsley  2 ปีที่แล้ว

      Also, if you wanted to you could use the code it creates and add it to your functions.php file in your child theme and remove the plugin, but it's so lightweight I don't bother.

  • @oyetunjiclement8256
    @oyetunjiclement8256 5 ปีที่แล้ว +1

    Please! Any one here who can help me solve this big problem but might be as ease for you there. I want to to create a custom post for my Gallery, which will be opening as lightbox for my visitor. And I can't afford any payment. Please who can help! 😕

  • @gaganmishra6147
    @gaganmishra6147 4 ปีที่แล้ว +1

    How to make the page to show custom posts

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      I can't really answer that. It depends on what you are using. Traditionally that was done via a theme. Most now with do that with a page builder that has theme building options.
      For me that is Beaver Builder (who first did this with Beaver Themer) but most of the pro versions of the big page builder have the ability to do this.

  • @HarmeetSinghviral
    @HarmeetSinghviral 5 ปีที่แล้ว

    Hi my client want if we add any new post with XYZ category then post title should add as a child category under XYZ or add in dropdown in custom field in admin panel of wordpress how it's possible in dashboard. Please help me on this

  • @aeit999
    @aeit999 6 ปีที่แล้ว +1

    @David
    If you do this that way how you can add something like related products widget/module?

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว +1

      That's a big question and it depend how you wanted it to do. Off the top of my head (and with me using Beaver Builder with Beaver themer) I could:
      1 Add a post module to my single product post set to show randomly other products that share a tag or category.
      2. Set up a custom fields with ACF to show a series of related products (images with links) so I could add the as I liked
      3 Either use Pods (for both CPTs and fields) for it's bi-relational ability OR use ACF Post-2-Post with ACF to allow that.

    • @aeit999
      @aeit999 6 ปีที่แล้ว +1

      Thank you for the reply.
      Well, I was always doing a half-assed job like installing woocomerce turning off some of it features and installing catalog plugins.
      Result was ... lagging the site for a decent effect.
      Now I switched to elementor, and I finally want to try ACF/Pods + custom templates made in elementror 2.0
      ACF P-2-P seems right

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว +1

      I was doing the same with WooCom too.
      I even repurposed the cart functionality in to a wish list/enquiry tool with a modified checkout form allowing enquires on these selected products. BUT, it's such a pain maintaining WooCom when you have custom modifications. They so love to change things
      Being able to change dynamic content with page builders just makes everything so much easier I think.

    • @aeit999
      @aeit999 6 ปีที่แล้ว +1

      David Waumsley you're right.
      Now with latest dynamic support for ACF in elementor its sick easy.

  • @richardstimson9707
    @richardstimson9707 3 ปีที่แล้ว

    Hi David, great tutorial. Is it possible to change the format of the archive page for CPT's? I want to display the full posts in reverse chronological order, rather than the grid of summaries. I am using the magazinely theme. My understanding is that you have to manually change archive.php and content.php, but surely there is a plugin that does this for you.. Any advice welcome.

    • @DavidWaumsley
      @DavidWaumsley  3 ปีที่แล้ว +1

      Thanks Richard. There probably are a bunch of plugins and you should be able to do it with a code snippet in your child themes functions.php file.
      I just can't find the best options now as I have been using a page builder that can handles to post archive stuff for me. Maybe start with this:
      www.wpexplorer.com/order-custom-post-type-posts-wordpress/

    • @richardstimson9707
      @richardstimson9707 3 ปีที่แล้ว

      @@DavidWaumsley OK thanks David. I've decided to go with the grid archive page with featured images (as per your tutorial) which works well. Thanks for your response.

  • @moniqueoostdam4403
    @moniqueoostdam4403 4 ปีที่แล้ว +1

    Thank you very much. Your tutorials are handy and very easy to follow. I have a question. I am using the plug-in WP customer reviews. And I would like to add taxonomies to every review post...but it looks like that the two plugins aren’t connected. Do I need to add some php and if yes, what should I add?
    My website is bezinningsvakanties.nl

    • @DavidWaumsley
      @DavidWaumsley  4 ปีที่แล้ว

      Thank you and sorry I don't know. I suspect the WP customer reviews folks will be able to answer this one.
      It's easy to assign a taxonomy to an existing post type and years back I used this plugin and was able to assigned a custom template to output it's content, but I just don't know how it works now.
      Since page builders have handled dynamic content this is the kind of plugin I would now replace with form submissions to my own CPT's outputting via page builder templates .

  • @nonchalantdon4231
    @nonchalantdon4231 3 ปีที่แล้ว

    Can this be used with an elementor plugin

    • @DavidWaumsley
      @DavidWaumsley  3 ปีที่แล้ว

      Yes, definatly with Elementor Pro. :-)

    • @nonchalantdon4231
      @nonchalantdon4231 3 ปีที่แล้ว

      @@DavidWaumsley Thanks for the reply! Is there any free theme builders (that you know of) that can be used to create custom post type for a page instead of archived post

    • @DavidWaumsley
      @DavidWaumsley  3 ปีที่แล้ว

      @@nonchalantdon4231 Not that I know of. I have not really look though as I'm a Beaver Builder and they did this way back so I have had no need to look.
      Going the Block editor route I think would still need ACF Pro or maybe Toolset. All being resonable invesments.

  • @vikasmaske6559
    @vikasmaske6559 5 ปีที่แล้ว

    How did you add products tab to menu

    • @DavidWaumsley
      @DavidWaumsley  5 ปีที่แล้ว

      Thanks for watching. To add to your WordPress menu you will need to use the custom link option under menus. So it will be your domain name/name of your CPT slug. Hope that makes sense.

  • @hunternova77
    @hunternova77 6 ปีที่แล้ว

    I did everything but when i place the url nothing is show on page: 404 . what could i've done wrong?

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว

      Is "Has Archive" set to true and have you resaved permalinks. It is usually down to one of these.

    • @hunternova77
      @hunternova77 6 ปีที่แล้ว

      I did this. You were right. Although I don't get the 404 error now I got a blank page.

    • @DavidWaumsley
      @DavidWaumsley  6 ปีที่แล้ว

      How annoying. Are you using it to display regular WordPress post or doing something with a Page Builder?

    • @hunternova77
      @hunternova77 6 ปีที่แล้ว +1

      +David Waumsley it's working now david. i was not using a correct slug. thanks

  • @graffigdesign8977
    @graffigdesign8977 5 ปีที่แล้ว

    Evening David - hope all is well. I wonder if you could help me out. I'm recreating a Joomla site and one of the existing page slugs is as follows: www.scotdec.org.uk/professional-learning - I'm trying to create a custom post type called: professional_learning however the slug exceeds the 20 character limit set by Wordpress. Would you know with CPT UI is there was a way to overcome this issue so that the page slug resembles the existing Joomla site URL structure? I hope that makes some sense :) Many thanks again and for providing this video which I always refer back to each time I need to create custom post types :)

  • @AhmetEkinler
    @AhmetEkinler 5 ปีที่แล้ว

    Hi there,
    I use Custom Post Types UI plugin in my website.
    I want to ask someting about settings.
    I don't want it coming in the link insertion section in the editor. What should I do for this.
    Yo can see ss -> prnt.sc/mv77uh
    Thanks

  • @walikhanomari8348
    @walikhanomari8348 8 หลายเดือนก่อน

    much more confusing

  • @dan280
    @dan280 5 ปีที่แล้ว

    Beaver Junction? Is that a porn site?