Block Themes From Scratch: Part 6 - Custom Post Types and Taxonomies

SdĂ­let
VloĹžit
  • čas přidĂĄn 30. 07. 2024
  • Custom Post Types are one of the most powerful features of any CMS. They go a long way toward helping you manage the data for your websites in a maintainable and sustainable way. To many WordPress users, they can be confusing and intimidating, both in what they do and in how to implement them. In this video, I provide an overview of Custom Post Types and Custom Taxonomies, show several methods to implement them, and wrap up by creating block templates for the Custom Post Type post and archive.
    🧰 Resources:
    • Block Themes From Scratch Series Playlist: • Block Themes From Scra...
    • www.wp-hasty.com/
    • wordpress.org/plugins/custom-...
    • generatewp.com/
    • wpturbo.dev/
    • metabox.io/
    • www.advancedcustomfields.com/
    • developer.wordpress.org/refer...
    • developer.wordpress.org/refer...
    🌐 My Websites:
    • adamlowe.io
    • peakperformancedigital.com
    ✅ Connect with Me:
    • Facebook: / peakperformancedigital
    • LinkedIn: / adamshawnlowe
    • CZcams: / @adamloweio
    • Twitter: / @adamslowe
    ⚙️Tools I Use:
    • WordPress.org: wordpress.org/
    • Pinegrow Website Editor: pinegrow.com/
    ⌚ Timestamps:
    00:00 Intro
    01:56 Examples
    05:13 Adding a CPT
    06:04 Online Generators
    06:37 Plugins
    07:26 Generator Overview
    08:34 CPT Demo
    11:20 Adding CPT To Website
    12:08 Creating Taxonomy
    14:37 Plugin Method
    18:28 Post Template
    22:12 Employee Archive Template
    24: Outro

Komentáře • 21

  • @rivikanthaherath1950
    @rivikanthaherath1950 Před měsĂ­cem

    Really enjoyed the series. It was very valuable to me. However, I am looking forward to the last video "creating custom blocks" I think without it the series is incomplete. I really appreciate the time you take to create this excellent series. Thank you.

    • @AdamLoweIO
      @AdamLoweIO  Před měsĂ­cem

      Thanks for the feedback. I've had wrestling with some mobility issues which have delayed the last video a lot more than I expected. I wasn't planning to go in depth on creating custom blocks though, since that's a massive rabbit hole. Instead, I was going to show some options and alternatives such as fully hand-coded blocks, Pinegrow, ACF blocks, block studio, and 3rd party block sets.
      Pinegrow is what I use almost all the time. I have a ton of videos about it, so here is a good intro to what it does and how it works.
      czcams.com/video/oZRZYaLzEw4/video.htmlsi=6L35tQJyk7ci9NA-

    • @nathalie4535
      @nathalie4535 Před měsĂ­cem

      12:06 12:06 ​@@AdamLoweIO

  • @pavbus
    @pavbus Před 5 měsĂ­ci

    Wow. Mind blowing for me. Thanks for all your tutorials ❤

  • @bradleymoore175
    @bradleymoore175 Před 3 měsĂ­ci

    Looking forward to the last video of the series. It has been an excellent series and deserves many more thumbs-up!

    • @AdamLoweIO
      @AdamLoweIO  Před 3 měsĂ­ci

      Thanks, Bradley. I’m eager to get it finished and published, too. It’s just taking a LOT longer than I had hoped.

  • @dhebard1
    @dhebard1 Před 4 měsĂ­ci

    I just completed watching this series of videos and I want to say THANK YOU! Very informative and easy to follow along. I look forward to the next one in this series.

    • @AdamLoweIO
      @AdamLoweIO  Před 4 měsĂ­ci

      Glad it was helpful! I’m trying to get the last video of this series out next week. I am, however, releasing a series all about creating classic themes starting later today. It used to be a paid course, but I’m opening it up because of the recent news about Cwicly being discontinued. Those should drop pretty quickly, I just need to reorganize them for CZcams and get them uploaded.

    • @dhebard1
      @dhebard1 Před 4 měsĂ­ci

      @@AdamLoweIO Really looking forward to this new series. I have had Pinegrow PRO with WP for a few years now, but have been really slow in getting started with it.

  • @toddwesthaven
    @toddwesthaven Před 3 měsĂ­ci

    Will the last video cover custom fields, and getting them to show in the block editor?

    • @AdamLoweIO
      @AdamLoweIO  Před 3 měsĂ­ci

      I've run into some personal issues and the last video is taking a LOT longer than I had hoped it would, so I'm probably going to pare it down to some essential things and do standalone videos for certain topics like that. Custom fields, in particular, can be tricky since they usually require creating custom blocks or using the new Block Bindings API.

  • @carlosrosalesrojas6788
    @carlosrosalesrojas6788 Před 5 měsĂ­ci

    Fantastic content! However, I'm pondering whether it's truly beneficial to invest time in manually creating a theme, only to switch to Pinegrow for crafting custom blocks. Wouldn't it be more efficient to construct the entire Full Site Editing project within platforms like Bricks or Kadence, etc.? While I have a fondness for Pinegrow, the prospect of complicating my workflow doesn't appeal to me...much

    • @AdamLoweIO
      @AdamLoweIO  Před 5 měsĂ­ci +3

      The intent isn’t really to steer people toward creating blocks using any particular tool. In fact, the next and last video will cover some of the ways to make up for the shortcomings of the core blocks. In my opinion, whenever possible, you should try to use the core blocks. You can extend the blocks to customize them and you can create block patterns that can be easily used in the editor. Creating custom blocks shouldn’t be the default go-to option, whether that’s with Pinegrow, Block Studio, ACF, by hand, or using another tool.
      As for using something like Generate Blocks, Kadence, et. al., it’s better to keep them out of the theme and just use them for page content. If something significant changes with the block plugin it could have pretty nasty consequences for your theme. In fact, I’m pretty sure a lot of block libraries explicitly say they don’t support being used as part of a block theme.

    • @carlosrosalesrojas6788
      @carlosrosalesrojas6788 Před 5 měsĂ­ci

      @AdamLoweIO In summary, WordPress's evolution into a full-fledged site builder is evident in its expansive feature set, Its ability to cater to a wide range of website needs, with its cost-effectiveness and control over data and SEO will place WordPress as a strong contender in the site-building space, potentially outpacing many traditional site builders in the future. But for now its design capabilities are junk. Don't even have control over breakpoints... Feels like Wp Bakery back in 2010.
      Pinegrow should look for another cms to integrate with something like strapi or ghost...

    • @BobbyMcGivney
      @BobbyMcGivney Před 4 měsĂ­ci

      @@AdamLoweIO "it’s better to keep them out of the theme and just use them for page content. If something significant changes with the block plugin it could have pretty nasty consequences for your theme"
      Can you elaborate more on this?
      PS THANK YOU for this amazing content! I'm brand new to it all, and am wow'ed by the Pinegrow capabilities and your tutorial style.

    • @AdamLoweIO
      @AdamLoweIO  Před 4 měsĂ­ci

      @@BobbyMcGivneyIf the block plugin changes significantly or becomes obsolete it's a bigger issue in the theme than it is for page content (usually). The main reason why it's different is because of dynamic data. On your pages, most of the content is static. Since regular blocks store their content in the WP database as regular HTML it's not the end of the world if the block gets removed. The front-end still continues to work (even though the block editor shows errors). Dynamic blocks, like you would have in the theme to pull data from various areas on the site, don't work the same way. They have to dynamically render the data each time they are loaded. So if the block goes away, or the way it behaves changes significantly, then the part of the theme that relies on that block will likely break.

  • @TheBeeOBee
    @TheBeeOBee Před 2 měsĂ­ci

    Is the video for the custom block to show the custom taxonomies still coming?

    • @AdamLoweIO
      @AdamLoweIO  Před 2 měsĂ­ci +1

      It is. I’ve been unable to use my hands for the last few weeks, so that sort of put things on pause. I’m hoping that this eases up and I can work normally again soon. Voice control and dictation only lets me do so much.

    • @TheBeeOBee
      @TheBeeOBee Před 2 měsĂ­ci

      @@AdamLoweIO oh dang. Wishing you the best, and definitely picked up a few workflow tips watching these.

  • @boopfer387
    @boopfer387 Před měsĂ­cem

    part 7?

    • @AdamLoweIO
      @AdamLoweIO  Před měsĂ­cem

      I've had wrestling with some mobility issues which have delayed the last video a lot more than I expected. I wasn't planning to go in depth on creating custom blocks though, since that's a massive rabbit hole. Instead, I was going to show some options and alternatives such as fully hand-coded blocks, Pinegrow, ACF blocks, block studio, and 3rd party block sets.
      Pinegrow is what I use almost all the time. I have a ton of videos about it, so here is a good intro to what it does and how it works.
      czcams.com/video/oZRZYaLzEw4/video.htmlsi=6L35tQJyk7ci9NA-
      Things are starting to turn around a bit, so I’m hoping that I can get part 7 done by mid-July.