WordPress Dynamic Data Fundamentals - Part 2: CPTs, Custom Fields, Taxonomies, Relationships
Vložit
- čas přidán 24. 07. 2024
- 5 Best Custom Post Type Plugins for WordPress: blog.hubspot.com/website/word...
ACF: www.advancedcustomfields.com/
@Crocoblock JetEngine: crocoblock.com/?ref=6339
Chapters:
0:00 - Intro
0:08 - Quick recap of how you got here
2:02 - What are Custom Post Types, and what are some examples?
3:15 - What plugins can create CPTs?
4:04 - How I got started with CPTs
5:50 - We'll be using ACF
6:30 - Creating a new Custom Post Type in ACF
10:51 - Comparing empty CPT to default Posts
12:45 - Understanding how Custom Fields are used
14:50 - Creating a Field Group and Custom Fields
25:25 - Understanding what Taxonomies are, categories vs tags
30:15 - Creating a Custom Taxonomy
32:10 - Adding genres to the custom taxonomy
33:20 - Assigning genres to movies
35:39 - Understanding what Relationships are
39:20 - Creating another CPT
40:38 - Creating another Field Group
44:10 - Hiding support features in a CPT
45:19 - Adding a Relationship custom fields to Movies Field Group
48:50 - Adding more People posts
49:25 - Understanding the power of Relationships vs other options
52:20 - Upgrading the Relationships to Bi-Directional
59:42 - Outro
------------------------------------
🤝 Book a private consulting call with me: mjs.bio
💡 Lots more content: markjosephszymanski.com
🛠️ See my full stack: markjosephszymanski.com/tools
🆓 Completely FREE resources: markjosephszymanski.com/resou...
------------------------------------
Website: markszymanski.co
Facebook: / markjszymanski
Instagram: / markjszymanski
LinkedIn: / markjszymanski
Threads: www.threads.net/@markjszymanski
TikTok: / markjszymanski
X: / markjszymanski
------------------------------------
Disclaimer: Please note that some of the links in this video’s description may be affiliate links. If you click through and make a purchase, I may receive a commission at no additional cost to you. I only recommend products or services that I genuinely believe in and have personally used or thoroughly researched. Thank you for supporting the channel!
This is the type of video that is needed because advanced users think everyone knows this. And it's not quite like that. An example is the explanation for "span" in your video with Kevin. Keep going!
Appreciate it!!! Absolutely, let's keep going 💪💪💪
i agree; he like kevin; no edit best way
I've watched several tutorials on ACF Bi-directional relationships - this is the first time that I understood what it actually does. Thank you.
Hell yea!! Thanks Harry!!
Beautiful stuff. A client just threw a curve ball at me that required me to have a better understanding of the "Relationships" feature in ACF. This helped tremendously. Keep up the good work.
Hell yea! Glad it helped! Thank you for watching!
i love the fact you go very slow and explain everything little thing!!! look forward to all
Appreciate it!! I wish I would have had something like this when I was learning. Trying to help anyone just starting out
@@markjszymanski when i watch your first video i was unsure where this was leading, i now very happy as you explaining how all the ACF and how they work together, plus it no edit, what make much better to follwing, i wish everyone did vidoes and not edit, i only no 1 other person who dose acss other i no off edit them all and when people miss little stuff out can be really annouying. keep up good work.
@@groundpets5101 hell yea, I appreciate it! Thank you 💪💪💪
Bonus comment: anyone looking for help on this topic , I can tell you from struggling with this a while back , this is EXACTLY what you need to understand and utilize this concept. Just keep reviewing until it sinks in. Ideally to push it further you’d probably want ACF pro or similar eg jetengine with Elementor Pro or Bricks.
100% this is literally the key to the next level WordPress projects for yourself or for clients. Editing a few more videos for this series, as well. Stay tuned!
@@markjszymanski i hope you use bricks!
@@groundpets5101 haha yea for the looping and everything I'll be demoing with Bricks
@@markjszymanski good to hear you make many people happy
Truly good content!!!
Thank you!!!
Was just what I was looking for!
Glad you found it! Thank you for watching!!
If you are creating a listing site and you have a property with all it's physical attributes as well asit's location - Town/ County/ State/ Country, is it better to create each of them as a field in a Field group inside a CPT called property with all the other details that are part of the listing, or is it better to have them as a Taxonomy that has a Hierarchy? So one county has many towns. One state has many counties etc.
When you create a card on a listing page and you want to display just the County and the Town - can you do that with a Hierarchical Taxonomy?
It sounds like you definitely want to use custom fields for that, not taxonomies. Give me a bit more context of what you're trying to do, and I can use that as an example in a video
@@markjszymanski
Hi Mark, thanks for replying
It is for a game lodge website
For example
Makalali River Lodge (lodge name) is in the Makalali Game Reserve ( Game Reserve name) which is in the Greater Kruger Region ( area) in South Africa ( country )
Makalali reserve has 4 lodges in it
Greater Kruger has a dozen or more game reserves in it - each reserve has x number of lodges in it.
So I have created the custom fields for all of those and the search works fine ( using gridbuilder ) but I have also created the same thing as a taxonomy which is double work.
I am obviously missing something when it comes to deciding whether something needs to be a taxonomy and for what reason if it works fine as a Custom Field
This is a great topic. I think it would be cool to walk through this on my next live stream this Thursday at 11 AM EST.
If you can be in the chat, it would be cool to get info/feedback as I go through it. If not, it'll be available for replay afterward.
If you have a live link to the site, that would help.
Also, what is the scope of the areas/countries? Worldwide? Just Africa?
Do you need to present information specifically about Countries or Areas?