All Collections
FAQ's and Troubleshooting
Customizing Divi Blog module to change the order in Alphabetical order
Customizing Divi Blog module to change the order in Alphabetical order

You'll learn how to customize the default Divi Blog Module to change the order in Alphabetical order.

Rijendra avatar
Written by Rijendra
Updated over a week ago

These changes require to install a Divi child theme with a Blog module inside. Check the following article if you don't have a child theme with the Blog module in it yet:
Moving the blog module in child theme article

Next, open up includes/Blog.php file from the child theme folder and search for this code:

$args['cat'] = implode( ',', self::filter_include_categories( $include_categories ) );

$args['paged'] = $et_paged;

Add this code just below it:

$args['orderby'] = 'title';

$args['order'] = 'asc';

Save the changes.

This should show the posts of the blog module ordered by title in Ascending order.

If you want to change it to descending then in the previous code, change 'asc' to 'desc'.

  • ASC‘ – ascending order from lowest to highest values (1, 2, 3; a, b, c).

  • DESC‘ – descending order from highest to lowest values (3, 2, 1; c, b, a).

Did this answer your question?