How I use CPTs, Templates, Queries, & Dynamic data to make life easier [Real client example!]

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 17

  • @chrisparky
    @chrisparky Před 5 měsíci +2

    The Power of ACF is really underestimated, particularly when using bricks. It can make sites SO easy to update once the hard work of the ACFs has been done. It also makes it effortless for the client to add or remove data, should they wish to.

  • @BGdev305
    @BGdev305 Před 5 měsíci +1

    For those that are not aware, it would help to say or in text on video show that you are using AT since it changes alot of how the builder looks compared to how it looks without. For those who may be confused as to why theirs is not looking the same.

    • @BrendanOConnellWP
      @BrendanOConnellWP  Před 5 měsíci +1

      good idea, thanks. are you saying not everyone is using AT? 😅 but more seriously,i thought about mentioning it but it seemed to distract from the rest of the video.

  • @ALIMAHMA
    @ALIMAHMA Před 5 měsíci +1

    Thank you for sharing, However, beginners like myself would greatly appreciate it if you could break down those techniques into step-by-step how to.

    • @BrendanOConnellWP
      @BrendanOConnellWP  Před 5 měsíci +1

      thanks for the feedback. do you have any part in particular you were stuck on?

    • @ALIMAHMA
      @ALIMAHMA Před 5 měsíci +1

      ​@@BrendanOConnellWP I am familiar with setting up the Custom Post types but when it comes to Bricks which I am still learning I found it a bit confusing how to establish those pages from one single template, also, I'm unsure whether it's advisable to include both "Doctors" and "Staff" for example, in one Post type or to separate them into two different Post types.? (now I am using JetEngine + Bricks)

    • @BrendanOConnellWP
      @BrendanOConnellWP  Před 5 měsíci +1

      if you want to display them more or less the same way (as I did in this video), you too can use a custom taxonomy for the job categories, then make Doctors as a category and have a single template for them

  • @ruddification
    @ruddification Před 5 měsíci +1

    Super helpful video Brendan! I noticed at 07:45 that Dr. Glenn Oberman's social links don't show because he presumably has both the Board of Directors and Faculty categories. How would you change your condition to fix that?

    • @BrendanOConnellWP
      @BrendanOConnellWP  Před 5 měsíci +1

      EDIT: i doubled checked and term slug ddint work. I did {Archive_title} != Board of Directors (with spaces). that shows it on all archive pages except that board page even if people are in both categories. good question and good catch, because I needed to fix that. there's a couple options, but i'd probably just do ONLY show social icons IF {archive_title} does not contain 'Board'. The adding of social links was hypothetical to the video, as I don't think I'm adding them all for each person on this project. But definitely conditions around archive/term slug/title/category is probably the way to further filter but still use the same archive template in one location. hope that helps.

  • @michaelfoerster3364
    @michaelfoerster3364 Před 5 měsíci +1

    Really nice! If we have a lot of CPTs and custom fields, should we use own db tables for performance reasons? How can we do that?

    • @BrendanOConnellWP
      @BrendanOConnellWP  Před 5 měsíci

      You can, but probably not necessary unless we're talking many thousands of records. another consideration is acf makes 2x the db tables as metabox at least last I checked, so bigger databases tend to perform marginally better

  • @darbaneh
    @darbaneh Před 5 měsíci

    Thanks for the tutorial and sharing it, but it would be nice if you could make a detailed one, so someone like me could benefit.

    • @BrendanOConnellWP
      @BrendanOConnellWP  Před 5 měsíci +1

      thanks. theres definitely a lot of step by step to get this set up (check out WP Tut's dynamic data tutorials for example). this was more of a high level overview of structure

    • @darbaneh
      @darbaneh Před 5 měsíci +1

      @@BrendanOConnellWP but the way you did in the category and texonomy for faculty and boards are more
      interesting, and I will check out WP Tut's. Thanks

  • @kareem2928
    @kareem2928 Před 5 měsíci +1

    Nice share