Це відео не доступне.
Перепрошуємо.
Top 10 Use Cases for Custom Post Types (Take Your Sites to the Next Level)
Вставка
- Опубліковано 16 сер 2024
- When I first heard about Custom Post Types (long ago, now - I've been using Wordpress since 2005 and CPTs were introduced in 2010) I couldn't really comprehend a use case for them. But once I wrapped my head around them and slowly started using them here and there, it unlocked a world of potential.
For those of you who still aren't sure what the potential of Custom Post Types is, this video will open your eyes and help you understand exactly where to start (and why).
I use CPTs on nearly every site I create because they're invaluable. Why? Here are some big reasons:
1. CPTs make data easier to query.
2. CPTs make data categorizable (with one or multiple taxonomies).
3. CPTs make it easier to attach custom fields.
4. CPTs keep the dashboard cleaner & more organized.
5. CPTs make it easier to create & query relationships.
6. CPTs make it easier to template specific types of content.
Let's dive into the top 10 use cases for Custom Post Types, how to create them, and the concepts behind their value:
0:00 Intro
01:45 Why CPTs?
06:55 Services CPT
07:20 Creating a CPT
14:35 Creating a Custom Taxonomy
20:05 Products CPT
23:54 Reviews CPT & Relationships
26:22 Team Members CPT
27:37 Locations CPT
29:34 Service Areas CPT
32:08 FAQs CPT
33:25 Freebies CPT
34:38 Courses & Trainings CPT
35:55 Events CPT
36:23 Review & Recap
Questions? Drop a comment below. I respond to all thoughtful comments!
Jamboard Link: www.figma.com/...
+1 for premium repeater training. A deep dive on acf with SEO in mind would be awesome. Absolutely love how much value your videos provide. Many thanks.
Not only is a real teacher, but heaps loads of encouragement and motivation.
Been building WordPress sites for a while and never did I once think to use a plugin to automate CPT creation. My goodness bud you've saved me so much time with CPT UI!
I also remember myself (for many years) reading about custom post types and I just couldn't get it. I thought it was something about... posts, as in "blog posts". 😅
When I finally understood what CPT's really are and what they can do my whole WordPress development approach changed and I rediscovered WordPress and its capabilities as a true CMS. 🎉
On a final note, I believe that it would be really useful for a lot of people if you could do a video about the relationships between CPT's for the use cases you talk about in this video (services to service areas, etc.)
Thank you for all the eye-opener videos Kevin. Really appreciate it.
what I loved about you Geary, you create all of the oxygen tutorials from an SEO perspective ... can't wait to go to your class :)
SEO is in my blood :)
Excellent!! I usually watch the youtube tutorial videos with 2x playback speed. but you are 2x playback by default!
💪🏻
Awesome ideas, for some reason Custom Post Types and ACF is something I have never been able to wrap my head around. Would love to learn more
Watch my repeaters training coming out tomorrow morning and it'll hopefully make everything click for you!
You make a unbelievably great teacher. Very refreshing.
Appreciate it!
I am building a website site for publishing highly sourced explainers (articles, videos, and dynamic infographics) that will require a ton of citations. The killer feature of this site will be a customizable reference library so people can easily cite their sources while composing content, find old sources they previously cites, and share citations amongst each other. If you think about how many data points - and how many relationships they can all have (journals, books, news articles, authors, scientific papers, etc.) then you can see how quickly this can get incredibly complicated. But I *have* to make it present as simply las possible for my users! I'm going to use custom post types and fields to build all this out on the backend and then learn how to customize frontend/backend interfaces. So thank you for helping me get started on my journey. I hope I can find more videos from you that will enhance my knowledge of this as I go.
Gold. Look forward to your deep dive of CPT and ACF :)
You opened up whole new world to me ! Thank you so much Kevin ! OF course, I will be on board for a premium training, especially if you combine Oxygen and Meta Box !!!
Announcement tomorrow! Make sure you're on the list: digitalambition.co/list/
@@Gearyco I am already on the list ! Your content is so valuable that I don't want to miss a piece !
The websites I’m creating are usually small sites for artists etc. They don’t even need posts, only a couple of pages and some photo galleries. That’s why I didn’t tinker much with Custom Post Types till now. Having watched this instructive tutorial I realize the immense potential and value of CPTs. A premium training for Oxygen would be great. Where do you (as an agency owner and a dog owner:)) take all the energy for creating these superb videos?
I like to teach ... it's a good break from just working :)
Awesome tutorial Kevin, thanks! So so helpful for my work. And your dog scratching her ass in the background made me have to pause the vid loool!
Brilliant video man! Very thought provoking regarding the power of relationships. Really piqued my interest when you mentioned using service areas for SEO, would love to see that expanded upon in future. Amazing work dude! Thank you so much!
Got excited to see custom post type tutorial but had to drop it off completely at 8:30 when saw a plugin doing or making the custom post type. Anyways, kudos to your efforts to explain the scope of custom post types.
What’s wrong with using a plugin like ACF?
@@Gearyco Being a developer I am not for using commercial/non-commercial and third party plugins. Especially when plugin development has been mentioned in great detail on wordpress developers platform.My personal experience and observation over the years have arrived to the conclusion that third party plugin cause huge impact on wordpress sites/apps, which is why I usually like and suggest to develop plugins on my own. Anyways, thanks very much for responding back and have a lovely day ahead. Cheers
Thank you. Very informative!
Nice tutorial! Would love to see you go deeper with actual walkthroughs of relationships using properties of post type objects
Inside the inner circle we do
A lot of tuts about custom post types on YT, but this one is the most complete one!
I try 🙏
This explanation of custom post types was so good.....i just hit the UA-cam bell icon for the first time in my life (and i'm subscribed to dozens and dozens of channels).
💪🏻💪🏻💪🏻🙌
very helpful, explained very clearly
Excelent information, please go deeper.
I thought I know when to use cpt. I was heavily wrong. Thanks ❤
Thanks very much for this! Your statement about Products and how we should be using WooCommerce for that use case rather than custom post types was very helpful. I was literally stuck in that dilemma trying to figure out how to implement custom checkout with custom post type: "Product". But I guess the way to go would be to add custom fields to the WooCommerce Product post type that comes with the plugin if we want to customize it further. This, at least for small products that can be sold online.
Additionally, the car dealership analogy made sense for custom post type: Product. Thank you sir! I really am learning a lot from you
This is very helpful! Thank you man!
that was the best (and most passionate) explanation of CPTs ever. seriously, thanks.
😎
Very clear and in depth just enough. Looking forward to deeper drives
You're the only guy on UA-cam where I actually hit the notification bell :D Great value!
Love your content. Love your jokes. Really wish, there was a follow-up video on how to make those relationships of CPTs. Anyways, thank you so much for amazing content. I was surprised you didn't mention chumps in this video.
I’ve done a video on metabox relationships. Search the channel.
@@Gearyco Oh really, that's wonderful. Thank you for replying. I will check that out.
This is the first time I have seen someone explain this so comprehensively. You should set up a website University!
DigitalAmbition.co/inner-circle/
DigitalAmbition.co/inner-circle/
Since you asked, here are some ideas for tutorials / courses:
- It is way too difficult in the current Oxygen/Wordpress framework to set up this simple flow on a site. I want to show all terms in a taxonomy with images. When you click on that taxonomy, you land on a archive page for the CPT. Then can click on each individual CPT to see the single instance. For example, on a product site baseball gear: First page would show all product types (taxonomies) such as gloves, bats, ball, etc. When you click on the glove category, you get a list of all gloves. You can then click on a single glove to see the details of it. I run into this ALL the time and have to hack it with code snippets and/or some creative templates in Oxygen. It is important that the URL stays consistent and hierarchical.
- How to add images to a CPT? Do you use the "Add Media" button. Do you made a Custom Field for the images? I've done both
- Relationships (you said you were covering that already)
- Deep dive into permalink structure for CPT and taxonomies. If you turn off archive for the CPT can you use that slug for a page? I like my url's to make sense and it can be tricky because the CPT slug and taxonomy slug have to be unique.
Great ideas! Adding them to the list.
See www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/
Great information. I only have my single website, but this information is very useful and helpful. It gives me a great foundation of what can be done before I hard code and try to shoehorn stuff into static pages. Needless to say that I am not ready to dive into actually creating custom post types yet, but definitely closer than I was before watching your video.
One question would be is there a downside in creating too many custom post types or relationships? Is there a negative impact to performance or database bloat?
Also, can I create those relationship fields on standard pages and posts? For example have a page related to multiple posts or a post related to multiple other posts.
I can definitely understand your comments in relation to trying to filter things just with standard categories and tags. Then when you do a query list, in your list filter you might have some tags or descriptions that aren’t relevant or even confusing to the end user.
Thanks again for all your videos. A lot of them are way past my skill level and understanding, but so far they all seem to have at least a few nuggets that apply to my situation.
If you're working on a large site with a lot of data you'd want to look into creating custom database tables.
POW!!! This episode opened all kinds of thought on how to implement CPTs. I really had not thought of all of the possibilities until watching this post. Subscribing for sure!
love this, i already did this with testimonials, teams and option page in dashboard for telephone numbers etc. but brilliant!!! love the new ideas i get from this. wil be joining inner circle soon!
Looking forward to your deep dive of CPT and ACF!
So this is how WordPress manages its MySQL Database relationships from within WordPress Dashboard! I was wondering about this! Every day is a school day. I can't help what other ways there are to do this... sure I'll find out in time!
This is awesome and doesn't suck. :)
I'd love to see the service areas and how it's relational to the other aspects.
Service Areas and their use for Local SEO is coming soon!
Excellent video. Well done. VERY HELPFUL!!! This is going to change everything.
Love the wonderful content!
Make any course and i'll buy it :)
I'm in too
I am so looking forward to more videos on this topic. I would definitely be onboard for premium repeater training
Very helpful. I need to start using custom post types more.
Great explanation.. This is probably the most detailed initial step to CPT UI, I'd love to see more for CPTUI / ACF etc
More to come!
Thanks a lot for this a discover CPT, it was looking very simpler thanks to you ! Impatient to learn about relation with advanced custom fields and repeater.
+1 for repeater and any other training you might want to provide! Your tutorials are awesome and super valuable!
Beginner repeater training coming today!
Yes to repeaters deep dive! And maybe what the heck wpfusion does!
Really powerful and excellent teaching style. And on top, shared Jamboard
Another awesome video. Thanks again. Watching all your videos this week and learning great tips.
Now i see the benefit of your custom taxonomy. It could also be a sub-category in a "Services" category, but then it would be available to every kind of post-type. Your new taxonomy is only available to Service post-type.
Wow. Thank you so much. 2021 and finally we're finally getting a proper explanation that makes sense (at least to me). Keep it coming, you're helping many of us. :)
I can't find the video that goes more in depth and is there one that says how to style each one? Thanks so much!
I have more in depth tutorials in the inner circle - DigitalAmbition.co/inner-circle
Another super useful video Kevin. Been using CPT + ACF a long time but still very helpful.
Best vids on deep dive Oxygen related stuff. +1 for premium repeater training. Thanks!
Really well explained for practical use cases.
I've been going nuts! Thank you for this.
Hi Kevin, thank you very much for your work, I'm waiting for a relationship between cp!!!! thank you
This was an awesome video, mate. Really helpful
Fascinating. I installed the CPT UI a few months ago, but have only been using the taxonomies for product filters, and haven't started creating post types. I am mainly in-house webdev for a manufacturer of roof vents (I liked the roofer example you used ... welcome to my world) and transitioned to a production Oxygen site in March. Happy to be done with VC! Testimonials hit home too. We have them in our blog, but you're so right they should be standing on their own. It occurs to me I can make shadow reviews of all our reviews on Google, Trustpilot, Yelp ... whatever. I may not even have to copy them, just display the page in an . But it's a review page, that customers could filter through in a repeater.
I liked Oxygen, and knew Sofly from WP All Import, so I knew they meant it with unlimited forever licenses. I bought it a year before I had any real use for it, but I've managed to create the environment where I use it every day all day, and doing so has taught me a tremendous amount about CSS, Javascript and PHP. I eliminated plugins for our color options with custom php, including overriding Woocommerce's Form function to create my own color options, and worked out functions for populating the cart and checkout. I put to rest our Calculator plugin and just finished the css for my code for our new Roof Ventilation calculator yesterday. roofvents.com/active-ventilation-products-attic-vent-calculator/
As for the Pro deep dive? I'd be very interested.
Awesome! Love it.
Thank you so much for this, it is really an eye opener to the scope of what can be done. It has certainly given me some new ideas for my next projects. This stuff is invaluable!
Glad it was helpful!
Very helpful
This is really helpful and very well presented. I'm an experienced PHP developer with a client that insists on using WordPress, so I have to put aside a lot of what I know and learn many new ways of doing things... The one question I had was in regards to relating custom post types. Would you use Advanced Custom Fields, or is there a more direct method? In this case, it's a support site for Products (custom post type), which fall under a hierarchical structure of Product Categories (taxonomy) and have multiple images (ACF gallery field) as well as supporting Documents (Custom Post Types) with taxonomies for Language, Status, Type, Format, etc. You helped me sort out the initial structure, and relating Produces to Categories is easy, but now I need to relate Supporting Documents to Products in a many-to-many relationship. On top of that, I have to import thousands of records from Salesforce and Oracle to populate this structure, but that's another question.
Metabox with either shared taxonomy or bi directional relationships will work
Hey Kevin, Thx for sharing this value content. I've watched this more than 5 times... every time I need anything about CPT, I come back and check it.
My Questions about (Has Archive?) - Start at 10:05:
One:
If this sets to false, that means I need to create a page for the archive(same slug), Right? Then edit the page with builder I do have.
Two: (Bricks Builder Case)
Why I don't set the archive to true from the beginning and assign template from bricks templates via the conditions?
e.g. (True Archive) - Create template and assign it to CPT archive via Bricks conditions.
Or
e.g. (False Archive) - Create page for the archive, Edit the page via Bricks/Any Builder.
What is right to do, Which is maintainable and scalable & why?
You can do it either way. I usually create a page because it’s easier to manage pages than templates. And it makes more logical sense. A /blog/ page with an articles grid is a page in my mind, not a template. Having to make certain things pages and certain things templates and remember what is what makes sites messier to manage.
@@Gearyco It sounds more sense now. Thank you, I'll consider creating a page from now on.
i subscribed and i dropped a comment to say this is awesome! i don't mind background noise at all. its the value you give on this video! :) I hope you will have a video about integrating these CPTs (naming, organizing, tips, practices etc.) for SEO
Lots to come
Very helpful video!! It would be great to see more videos on the use of custom post types and ACF with Oxygen! Finally I wanted to say "thanks!!" for your awesome tutorials Kevin!
More to come!
When you doing a follow up vid mate? :) , as soon as im not poor af ill be doing your courses thats for sure , all your vids here have helped ALOT bro! cheers
Soon! Which part do you want to see most?
@@Gearyco well beggars cant be choosers and literally every video you do is full of gold!.... im not worthy
Actually a video on how you set up your cats & taxs for your CPTs would be good , like a deep dive
This is just great content. Keep it up 💪 As mentioned in some of the other comments, i would also like to see the power of ACF. I'm struggeling with a field to a cpt, that adds the post to a users favourites. Its that possible?
Again, thanks for the videos 🙏
Awesome video, definitely go deeper into this topic! :) Here's another video idea for you: ACF. I got the basics down but it's such a powerful tool and it just seems like I'm not using it to its fullest extent.
Will do.
Yes, a repeater tutorial, and maybe something about securing a website (fi all in one security and firewall) would be great. Love your tutorials they are so usefull!
Thanks for the idea!
love the value here thanks for the video I learned a ton!
great vid, really helpful
this is super awesome man
Great content! I’m interested in going deeper on how to use CPT to create courses and trainings, instead of using an LMS plugin.
That would have to be a premium training and it would be long. Sooooo much to cover!
This is a one of my priorities at the moment. I want to be able to use Custom Post Type to create a Course custom post. This way i can any custom field and then allow visitors to just look up a course and if they are interested they can then purchase. This is not to be a direct online course but a Webinar Session.
Is this a possibility
Great stuff! Thank you a lot for your insights!
This is awesome.
I am advanced with custom post types and this video was still extremely helpful. You are really good at this. Thank you for another amazing video! PS: I've wasted years of my life trying to make a decision on CPT & Taxonomy slug names (joking).
The struggle is real!
This is so helpful! Thank you so much!
Great content. Thanks for sharing
Oxygen Repeater Premium Training? Hell yeah! ;)
+1
I’m guessing this is the way to go so clients can update the custom field sections rather than muck up a page layout? Great content Kevin and would like deeper dive on this.
Yes, for that reason too
Man, I love your videos, thank you so much for sharing!
If I want to create a document library, should I use custom post types with ACF or is there another way?
Thanks!
great stuff Kevin! Thank you!
Thank you! Could you please explain how you display the CPT category page if you set the "Has Archive" to false?
This ia bargain for the time you've saved me today.
#11: Knowledge Base.
Absolutely helpful. Thanks.
Glad to hear it!
thank u for this post type video... can i expect more deep video regarding the post type and repeater things... also please show some tips for wocommerce sites... thank u again for putting your time and effort sir....
Love your videos!
🙏
Amazing !!
Great content, this was super helpful!
this was a great video- I just was thinking about how to best organize content so it was easily searchable and well organized- this was helpful. if we want to have a site where we as the admin have the architecture set up a specific way but then want users to be able also to make different categories of posts- and limit part of that- ie- video, photo, story, and let other users vote on those posts- do you have any suggestions? can this be done with this particular plug in or a different plug in or has to be built out? thanks!
Awesome!
Great video as always! Killing it.
would love to view the co relation part more in details
this is awesome
Another common use case for CPT on corporate websites is job postings.
100%!
If you setup a CPT and a corresponding custom taxonomy, what would you use as the "main page" for that CPT? Would you just use a standard "page"? Seems a little clunky, but I'm unsure
Sometimes a page, sometimes the CPT archive page. Depends.
@@Gearyco I appreciate the reply, thank you. Quick followup: If I go the CPT archive, is there a way to A) Get the Gutenberg editor, and B) I take it you fill out the input fields with custom fields targeting the "Post type list", right?
Thank you again, nobody else seems to know what to do here.
I'm very much interested in this using spectra - or only just wordpress blocks area. No page builder.
Spectra isn't great. Try something else.
Superb video 👌
Enjoyed the presentation, thanks. I've been struggling with how to reorganise an ancient blog site: 100s of posts, a few pages, with futile attempts to correlate the contents of lengthy passenger cruises (which involve dozens of countries, with potentially multiple posts for each country) and a couple of authors. They used a plugin implementing a Book/Volume/Chapters metaphor which was ugly. It seems like custom taxonomies related to, say, "cruises", "countries", "cities", "experiences" would do it. Any experience converting existing posts to CPTs?
I have been thinking about creating a WAAS product for niches in the aviation industry. I’m leaning towards making heavy use of ACF to make it easy for clients to edit. I get the concept of repeaters but I get hung up a bit on SEO. Like do you really want each FAQ to be indexed by search engines? Also, hiding entire sections containing a team member repeater if a client doesn’t fill in any team members.
You can turn off the URLs for posts in any post type. Like FAQs.
this is awesome)💪
I'm curious how database queries affecting loading speed and minimum hosting requirement. Charging a client or encourage them pay good hosting not as easy as compared with flashy front end pitch
Not sure what you’re asking