Our Best Freebie yet?
As you know, we create free tools and give away downloads related to Divi. We’re back with a good one! One of the most common questions related to the Divi Blog module is how to show posts based on the taxonomy of a selected custom post type. This question arose when Elegant Themes added support for custom post types, which you can learn about here: How To Display Custom Post Types In The Divi Blog Module. In this tutorial I will give you the free download which you can install as a regular plugin on your website and show you how to use it to show posts based on taxonomies of custom post types in a custom Blog module.

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
How To Use The Free Divi Custom Blog Module
#1. Download And Save The Plugin File
The first step is to download the file to your computer. Save it somewhere you will remember for the next step.
#2. Install The Plugin Into WordPress
Go to your WordPress Dashboard and navigate to Plugins>Add New. Choose Upload Plugin and select the file. Once uploaded, activate the plugin.
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.

#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!
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!
Nice, love to hear of great timing! Hope this works for your needs!
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.
I’m glad you like it! Yes that would be great as well, but much more work.
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…
I’m not having that issue, I’m not sure why it is happening for you.
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.
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/
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.
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.
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.
Hi hemant, just tried but it did not work,
THANK YOU….!!!!!
This is what I needed
Awesome, glad to hear it!
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.
I’m so glad you like it!
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
I’m not sure, it works for me. Double check the taxonomies code…not sure what else.
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?
Hey Samuel,
Could you please share the URL of the page in order for me to investigate it further?
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?
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
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.
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?
Hey Ben,
Could you please provide the URL of the website for me to investigate it further?
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
Thanks Amy, glad you like it! The question is actually related to the Blog module, and there are many tutorials on that subject 🙂
Thank you, Nelson, for such a cool thing, and even for free! Good luck!
You’re welcome, my pleasure.
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.
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.
Amazing Plugin. Thank you. But doesn’t support 3 columns Grid.
Please turn off the Divi Dynamic CSS option for this to work.
Thank you! I was looking for this solution too!
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.
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.
This no longer works… “There has been a critical error on this website.” 🙁
What do you mean? Please provide details when you comment.
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?
I read your comment a few times and got lost. Can you try again, simpler with links and images?
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!
I subscribed but download link did not come on email
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.
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 🙁
Yes we have updated the module since some of the comments were posted. We have no other reports of it not working though.
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
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.
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?
Custom things like this may not work quite perfectly in the Visual Builder.
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?
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
You’re very welcome, I’m glad you found this!
Your plugin is very nice and useful. I was wondering if it was possible to sort the posts randomly?
thank’s for your job
We will consider adding this feature, but as of now it does not have that.
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
I’m not sure which links you are referring to.
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
I hear ya, it would be nice to sort by Tags. We will consider it if we do any further development on this.
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.
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?
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.
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.
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.
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?
I have not heard of that issue, I am not sure. You can send us an email.
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?
!!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!
Thank you, we are checking it and will update the module soon.
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.
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!
For that we would need to copy the module and modify it. I will suggest hiring a programmer to handle that for you.
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?
It should be, please check. In Divi it shows related posts by default with the dynamic option.
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?
Hi Michael!
The Divi Blog module does not work properly with CPTs. Please contact the Elegant themes support about it.
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?
Divi already does this, just set the Blog module to dynamic.
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!
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?
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.