How To Show Custom Post Types By Taxonomies In A Custom Divi Blog Module FREE Download Tutorial by Pee Aye Creative

How To Show Custom Post Types By Taxonomies In The Divi Blog Module – FREE Download!

I'm excited to share this FREE modified Divi Blog module which allows you to select and show posts based on taxonomies of custom post types!
Categories: Divi Freebies
Divi blog module with taxonomy selection for custom post types

Join subscribers on our YouTube channel and enjoy other Divi video tutorials!

Subscription Information

We spend a lot of time developing these FREE Divi resources. Quite frankly, all we ask in return is that you subscribe to our email newsletter. You won't get spammed. Each month we send out a roundup email newsletter with the latest tutorials, product updates, helpful resources, and any other industry or personal news. Occasionally we send an extra separate email here and there if we just can't wait, but honestly not very often! So that's what you will get if you subscribe, and you can always unsubscribe at any time if you just can't take it anymore 🙂

If you are not subscribed, you will need to enter your name and email in the form below. Our system will send an opt-in confirmation email. Once you click confirm on that, then a second email will arrive in your inbox with the download link.

If you already subscribed,  just enter your info and the email will arrive in your inbox with the download link.

Subscribe To Download The Custom Divi Blog Module

Free Custom Divi Blog Module

Obviously, you would need to have an existing custom post type and taxonomies to benefit from this. If you do not, go ahead and check out our free generator tool!

#3. Add The Module To Your Layout

Now it’s time to add the module to your Divi layout. Open the Divi Visual Builder and click the gray plus (+) icon. Search for “custom” or “blog” and you will see the module called “Custom Blog”. Select it to add it to your layout.

add the free custom blog module to your layout

#4. Select Custom Post Type And Taxonomies

Now the part you have been waiting for! Simply select your custom post type from the Post Type dropdown and any taxonomies that you have created will appear. You will need to select the Taxonomy Type, the name of the Taxonomy. Any terms that you have created for that Taxonomy will appear as checkmarks for you to filter which posts show in the feed. Enjoy!

Last updated Apr 22, 2022 @ 10:37 pm

Subscribe

Each month we send out a roundup email newsletter with the latest tutorials, product updates, helpful resources, and any other industry or personal news. Occasionally we send an extra separate email here and there if we just can’t wait! So that’s what you will get if you subscribe, and you can always unsubscribe at any time if you just can’t take it anymore 🙂

Blog Post Optin

Please share this post!

Nelson Lee Miller (aka The Divi Teacher)

Nelson is the owner of Pee-Aye Creative in the beautiful state of Pennsylvania. He loves helping small businesses, exploring outdoors, building websites with Divi, and teaching others.

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

80 Comments

  1. George Boyce

    I think “most common questions” is probably an understatement. I spent a day prototyping some custom post types and built out a taxonomy, and then saw the Divi limitations, and spent another day exploring my options. This was over the weekend, so, umm, great timing!

    Reply
  2. Gil Poulsen

    This is great, Nelson and something that Divi should have already done, but whatever… The next step is support for custom fields in the Blog module when using a CPT, since I find that whenever I need to create a CPT for a client, I always need at least 1-2 custom fields, so I need to use Divi Machine or Toolset. I am assuming that is much more of a challenge programmatically than enabling taxonomy support? In any case, thanks for creating this and for all the other great stuff you make available to Divi users.

    Reply
  3. silvana calabrese

    Hi Nelson, thank you for all your video tutorials, they are very precious!
    I installed the plugin and I see the Custom Post Module in Divi: I’m glad to see all the tags that I assigned to each post and not only the categories. Unfortunately the module doesn’t filter in the right way, but it shows always all tags, instead of the selected ones…

    Reply
    • Joshua Andreasen

      I am having the same exact issue. I can select a custom taxonomy, but it doesn’t actually filter them. It just shows all the posts.

      Reply
  4. Lilli

    Hi Nelson
    I’m very happy with your plugin, so that I can create specific tag pages. But your custom blog doesn’t show as a grid on my page, all blogposts are underneath each other and not even looking good with the spacing, which is right on the other blog modules.
    Wanna see
    https://lilli-to-go.com/tag/tansania/

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      I see this is due to the Divi performance settings. I’ll check into it, but for now I see two options. Either add a Blog module to the page (this will load the CSS for the blog) or turn off Dynamic CSS in Theme Options.

      Reply
    • Juancho Vega de Seoane

      Almost same problem here. But also If I go outside the visual builder the content does not display

      Nelson you absolutely rock, hope you can get to fix this asap. Also when I go out of the builder the custom post are not being displayed…

      I tried to add a blog module to the page but it is not helping. Also my Dynamic CSS is disabled.

      https://nueva.musicacreativa.com/profesores/

      The first module with teacher is a blog post module. The second one is the custom post module.

      Thanks in advance for your work and for helping me out.

      Reply
      • Hemant Gaba

        Hey there,

        Could you please go to the Divi > Theme Options > Builder > Advanced and clear the static CSS file generation and see if that helps?

        If that doesn’t help then inside Divi > Theme Options > General > Performance, try disabling the options and see if that helps and let me know how it goes.

  5. Sabine

    THANK YOU….!!!!!
    This is what I needed

    Reply
  6. Joe Ramsay

    Wow! Thanks Nelson. This was the missing piece for those of us who use custom post times for sites that provide resources, ecourses etc. This is super. And thanks for offering it to the DIVI community as a freebie. Super generous of you and much appreciated.

    Reply
  7. Leo

    Hi there,
    Thanks for taking the time to create this tool but i am having some issues. When I select ‘Categories’ from my taxomony type dropdown I don’t get a list of the categories I have created. I have tried to create new categories to test but they are not showing up either.
    Any help would be appreciated.
    Cheers

    Reply
      • Samuel

        Nelson, thank you very much for your work! Incredible!

        I’m also having this problem mentioned by Leo. It doesn’t show dropdown to filter when I select post or category.

        When I choose some different Custom Taxonomies it works correctly.

        Any idea how to solve?

      • Hemant Gaba

        Hey Samuel,

        Could you please share the URL of the page in order for me to investigate it further?

  8. Kevin

    Hi Nelson, this is amazing as it was just what I was looking for. I was completely stumped to find out the existing blog module didn’t support CPT taxonomies. So thank you very much for giving this away to us.

    I was too having troubles with styling on the grid layout, but have fixed that due to your comment about disabling ‘Dynamic CSS’ or adding in a blog module. I did the latter.

    The only other thing I noticed, that would be a huge help, is that the option to filter by ‘Posts for Current Page’ doesn’t work. This means creating a specific page for each tag I have created. This means if I or someone else adds in a new tag, then a new specific page is needed to be created manually for that tag, whereas if the ‘Posts for Current Page’ worked, then I could create one template for all tags within that CPT and then any new tags added would automatically have an archive page generated.

    I presume this was an oversight or is adding that functionality a much bigger job in itself?

    Reply
  9. Pascal

    Great thank’s to you Nelson.

    Before using your plugin on one of my client website I test it on https://tests.pixeligo.com/. The first step is to create the CPT and the taxonomie (Producteur and Label). It was very fast with your Generator ;-). I have regenerated the permalinks. The second step is to use your plugin (thank you again). With the visual builder I see the list of the posts and without the list disappear ! I try with the Divi Blog Post (without taxonomies) and the post are displayed. The result is on https://tests.pixeligo.com/ if you need to see it. Thank you Nelson. Regards. Pascal

    Reply
  10. Roberto Loreni

    Hi i also have the same iussues of Leo. I have created 3 post types and 2 taxonomies that I see regularly in the admin menu and in the div builder while in the custom blog module of plugin i can see all 3 custom types, all 2 taxonomies but not the list of categories. I noticed that the list of taxonomy in the custom module appears to me only for the last custom type I generated. If I move the order of the post types in the code, I regularly see only for the last one in the list, so if I create a single post type and vary taxonomy everything works.
    Thanks for your help.

    Reply
  11. Ben

    This is EXACTLY what I’ve been looking for for weeks! It’s working as it should, however, it is cropping the featured blog image. I already had the function you mentioned in this article: https://www.peeayecreative.com/how-to-stop-divi-image-crop/ added and it works with the regular blog module, but it does not work with the custom blog module. It’s cropping them all square.

    Any suggestions?

    Reply
    • Hemant Gaba

      Hey Ben,

      Could you please provide the URL of the website for me to investigate it further?

      Reply
  12. Amy

    Nelson,
    Thanks for this plugin. It’s really important and filling a missing piece for me. I am wondering if there’s an easy way to change the amount of columns from 3 to 4.
    Thanks,
    Amy

    Reply
  13. Artfish

    Thank you, Nelson, for such a cool thing, and even for free! Good luck!

    Reply
  14. Sher

    I know it’s a free plugin and I don’t expect any support, but i wanted to report an error being thrown with the plugin as of May 4th-
    Deprecated: Required parameter $render_slug follows optional parameter $content in /www/advantagehomehealth_674/public/wp-content/plugins/divi-customblog-module/includes/modules/HelloWorld/HelloWorld.php on line 30
    If I come up with a fix, I will post it here.

    Reply
    • Hemant Gaba

      Hey there,

      Thank you for letting us know. We will try to replicate this on our end and will resolve it if we encounter the same.

      Reply
  15. Rupesh Joshi

    Amazing Plugin. Thank you. But doesn’t support 3 columns Grid.

    Reply
      • Erika Reyes

        Thank you! I was looking for this solution too!

  16. Polina

    Hi,
    Thanks so much for the amazing plugin and making it available for free. Just like a few others there I can report that custom taxonomies show up but the list of them after you select a custom taxonomy does not show up. I have multiple of each and none of them show up, including standard categories for standard posts. I suspect it has something to do with what Roberto Loreni reported. Maybe you are testing with a single custom post type so for you it works, but the sites with multiple custom post types only the LAST ADDED custom post type taxonomies work. I am sure you can replicate it on your testing site as well.

    Reply
  17. John

    Thanks for this. What would be really good is a way for it to use only the posts in the current taxonomy. I’ve done this myself by editing the code (changing $include_categories to the result of get_queried_object()->term_id;) but obviously it’s never wise to edit a plugins code.

    Reply
  18. Daniel

    This no longer works… “There has been a critical error on this website.” 🙁

    Reply
  19. Igor

    Hi,
    this is great, i used this with post type and taxonomy generator, BUT i have ONE BIG PROBLEM:(

    On loop using normal blog, and this CUSTOM BLOG, in meta part of post or on signle post that is in that new taxonomy there is no CATEGORY displayed.
    Post goes fine in created taxonomy terms, but they are not displayed in meta data of post or post excerpt in loop situations.

    Can you help?

    Reply
  20. Jason Overhulser

    Thank you so much for this great plugin!

    I needed to sort a custom post type ‘members’ by its meta key ‘member_name’ so I added a sorting feature in your render function as follow:

    // sorting for custom post types
    if ($post_type == ‘members’){
    $args[‘meta_key’] = ‘member_name’;
    $args[‘orderby’] = ‘meta_value’;
    $args[‘order’] = ‘ASC’;
    }

    I hope it helps someone!

    Reply
  21. Sachin Khajuria

    I subscribed but download link did not come on email

    Reply
    • Hemant Gaba

      Hey Sachin,

      It worked fine for me. Sometimes it takes a little more time than usual to deliver the email to your mentioned address. Please check after some time and let us know if you received the link or not.

      Reply
  22. Romain

    Hi there, for me It works even with Dynamic css activated. The only bug I found is when you are in the builder, the grid and the filter by taxonomies doesn’t works. So you get the complete list of CPT without grid 🙁

    Reply
      • Daniel

        Hey Nelson,

        I have the same problem as Romain shared… Filter by taxonomies does not work for me either, which loses all the purpose for me. Do you have any updates about what to do?

        Thanks,

        Daniel

      • Nelson Lee Miller (aka The Divi Teacher)

        I don’t know what you mean, don’t have the issue, and have no reports of it, so I cannot update something that I don’t know about 🙂 If you want to send us a message with all the details we can take a look.

  23. Romain

    Thanks for your plugin, for me in works perfectly in frontend, but in the visual Builder I got the complete list of selected CPT with no grid and all the taxonomies. Any idea?

    Reply
  24. Alok Narayana

    This module is awesome, thanks! It is working well with Divi Dynamic Helper and Divi Taxonomy Helper on my site. Great stuff! I’m about to buy more!

    I had previously added some code to Blog.php in my child theme so that my blog roll would display my custom fields in the post data (like meta data, but my own custom fields created in the custom post type).

    I’m hoping to have the Custom Blog Module display my custom fields the same way, but it isn’t automatically grabbing that code from Blog.php. Anyone have any tips?

    Reply
  25. JW

    Thank you thank you thank you thank you!!!!
    I can’t tell you how grateful i am for this and I can’t believe that DIVI haven’t released this update yet.
    Spent a few days building several CPTs with 50 categories and tags only to see that they wouldn’t work.
    You’re doing a great job — THANK YOU 🙂
    J

    Reply
  26. Fabrizio

    Your plugin is very nice and useful. I was wondering if it was possible to sort the posts randomly?
    thank’s for your job

    Reply
  27. Marco

    Hi, unfortunately the custom category links do not work both by setting “Category” and by setting “Category WP-Core”.
    The result is “page not found”. How can this be fixed?
    Thank you very much

    Reply
  28. Ron

    I have searched far and low for a certain functionality and maybe just undersatnd the exact terminology to search for. I want to be able to when on a particular blog post page show a blog list of other posts, purely based on matching tags. (not categories)

    Let say I am in the camping category and click on a tent post. At the bottom I want related blog posts to appear such as a power generator that is in the ‘electronics’ category or a raincoat that is in the ‘clothing’ category. All because the tent, power generator and raincoat all had a tag of camping set on each of them.

    And would love for it have been in your standard blog module as I have custom code/styling on it.

    Thanks for any help in advance.

    Ron

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      There is no way to show related posts by tag with the Divi Blog module or our custom one. I think for that you would need a dedicated 3rd party plugin. Tags are just not used much these days, categories and subcategories are more useful.

      Reply
  29. Joe

    Hi there, thanks for this plug-in! It’s been super helpful.

    I have a CPT and a non-hierarchical custom taxonomy. Although both the CPT shows up in the “Post Type” drop down and the custom taxonomy also shows up in the “Taxonomy Type” drop down, the “included taxonomies” section of the custom blog module fails to generate after selecting the post type & taxonomy type. So I can select the post type & taxonomy type, but since the option to pick what specific taxonomy term to filter on doesn’t show up, I can’t really use the module as intended.

    I’m not 100% certain if it’s related to the fact it’s a non-hierarchical taxonomy. For the CPT in question, there are two hierarchical custom taxonomies that do show up and also populate the “included taxonomies” section.

    Any suggestions?

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Sorry about that, we are aware of some issues and are checking it on some other sites. If you want us to check it on your site too before we update please send us an email.

      Reply
  30. peik

    Seems like when the ‘Posts For Current Page’ is active, it ignores the selected taxonomies. As an example, I’d like to show posts for the current page WITH the selected taxonomies, so it would filter and show only the posts with the taxonomies AND the current page. Otherwise great plugin.

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Yes that is correct, as the Posts For Current Page is the same as saying “dyanmic content” which means it would not be up to the user selection, but by where it is placed, just like the Blog module.

      Reply
  31. Holly

    We have this installed and has been working perfectly until now. The posts show when looking in visual builder but don’t show on the live site. Do you know what may have happened?

    Reply
  32. ApostolosV

    Thanks for the great plugin! I have a problem, for a certain post type the categories don’t seem to show up. For some other post types or for new ones that I create, they show up correctly. Do you have any idea?

    Reply
    • ApostolosV

      !!UPDATE!! I just discovered what other users have reported: The list of categories seems to work only for the last added custom post type! If you could give me a solution, thanks for your great work!

      Reply
    • Hemant Gaba

      Hi ApostolosV!

      Could you please share the URL of the page in order for me to investigate it further? Also, let me know which post type categories are not showing.

      Reply
  33. Chuck Lasker

    Any chance you could add the Divi Post Slider Module for this functionality? I created a custom post type of “Testimonials,” and populated it with a bunch of testimonials, only to find the Post Slider Module doesn’t show custom post types. Thanks!

    Reply
  34. Michael

    Hi there.

    Firstly I’d like to thank you for solving sooooo many of my Divi problems with your plugins and tutorials.

    This plugin solved one of these issues and works perfectly on a static page when i tick which category i want to display.

    My problem comes on a Divi Builder page. I have a template for my Case Studies and in a column I want to show a list of Related Case Studies, which are in the same category. Obviously this needs to be dynamic and know which category the Case Study you’re viewing is in and show other in that same category. Is this possible?

    Reply
      • Michael

        Hi. In the standard Blog module if your post type is ‘Posts” you can select “Current Category” but if you change your post type to a CPT then the categories disappear and this option isnt availble. In your Custom Blog module the categories do display for CPT’s but there isnt an option for “Current Category”. Is it possible to add this, or is there a workaround?

      • Hemant Gaba

        Hi Michael!

        The Divi Blog module does not work properly with CPTs. Please contact the Elegant themes support about it.

  35. Samantha Troy

    I have created a custom post type and was hoping to use this to display related posts. Is there a way to have this display the Current Category only?

    Reply
      • Samantha Troy

        Of course, it does! I somehow totally missed my custom post type in the list of options in the regular blog module. Thanks so much for the speedy reply!

  36. Kati

    Love your resources, but this one won’t send to me for some reason. I’ve tried entering my email several times, and I got the subscription confirmation email, but still no plugin. Can it be sent to me manually?

    Reply
    • Nelson Lee Miller (aka The Divi Teacher)

      Hi Kati,
      I checked the logs and it looks like the emails sent. If you still did not receive them, you can reach out to us and we will send it to you directly.

      Reply

Submit a Comment

Your email address will not be published.

Other Freebies

0

Your Cart