How to Add a Custom Post Type to Divi with Code

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии •

  • @maurizioviera
    @maurizioviera Год назад +4

    Great tutorial! For some reason I had problems displaying my CPT after following the steps on 13:15. I found a solution, I went to: Divi / Theme Options / Builder / Post Type Integration / Enable Divi Builder On Post Types and I Enabled the Recipe CPT option, then reload my CPT entry and bam! it displayed like it was designed on the Theme Builder. This problem appeared just when I added a second CPT on my website following the steps on 7:30

    • @DiviEngine
      @DiviEngine  Год назад +3

      Thank you so much for sharing your solution! It's always great to hear from viewers who have tried out the tutorial and found ways to overcome any issues they encountered. I'm glad you were able to get your CPT to display properly, and I'm sure other viewers who may have run into similar issues will find your tip helpful. Thanks again for taking the time to share your experience!

  • @juanJose-ug5lw
    @juanJose-ug5lw 2 года назад +2

    Great, waiting for more tutorials. Thanks.

    • @DiviEngine
      @DiviEngine  2 года назад +1

      More to come! Thanks, Juan!

  • @idovecer
    @idovecer Год назад +1

    You didn't notice but tag taxonomy doesn't work in this example and video, just category.

  • @JelleSchuermans-Tunity
    @JelleSchuermans-Tunity Год назад +1

    Good video!
    It works fine until minute 15. When I look for 'Post ' under new module it is empty. So no modules are shown with the word 'post' in it, am I missing something?

  • @ORTU1985
    @ORTU1985 2 года назад +1

    Awesome!! Where can I find the video for the blog post where you create the single-recipes.php and archive-recipe.php to display the custom post type? Can't seem to find it!!!

    • @DiviEngine
      @DiviEngine  2 года назад +1

      Hey there Massimo! We actually use the tools right in Divi to handle that. Check out this post on using the Divi Theme Builder to display your Custom Post Types -> diviengine.com/how-to-style-a-custom-post-type-template-using-the-divi-theme-builder/

  • @game-sy4nb
    @game-sy4nb Год назад

    how to cretate generator texte with chatgpt4 in divi theme

  • @rapfanatics1259
    @rapfanatics1259 Год назад

    Why do we have to use code on Divi for simple things that can already be created in the theme?

  • @mdkamruzzaman3273
    @mdkamruzzaman3273 2 года назад +1

    Thanks

  • @henniebotha
    @henniebotha Год назад +1

    Mmmm but now display them in a blog module, because that is where blog posts typically end up...

    • @DiviEngine
      @DiviEngine  Год назад +1

      Howzit Hennie!
      Please elaborate.. Of course the tutorial is intended to show you how to add new post types and with the blog module you can for sure select your new custom post type. But yes, it is limited. If you want really flexible and deep integration, you would need something like Divi Machine.

    • @henniebotha
      @henniebotha Год назад

      @@DiviEngine Thank you yes, I kept reading through your solutions and saw that Divi Machine would be what I was looking for. I decided to go with Filter Grid though - I think pricing was the reason? Can't remember.

  • @roxcastaneda
    @roxcastaneda Год назад

    Interesting, but quite confusing