Note: The following customization requires an active Divi Child Theme and the Blog.php file to be moved to the child theme folder.
Ensure that the Child Theme is active, and it contains the Blog.php file
Go to WordPress Dashboard β Appearance β Theme Editor
From the right sidebar, select the Blog.php file
Search for this line of code:
echo '<div class="post-content">';
After that line of code, add this new line:
echo (get_post_meta($post->ID, 'my_key1', true) != '') ? '<div class="mykey1">'. get_post_meta($post->ID, 'my_key1', true) . '</div>' : "";
Important Notes:
In the PHP code above, the name of the custom field is my_key1
The my_key1 will have to be replaced to match your Custom Field's name
If you have more custom fields that you want to show for each Post that is being displayed by the Blog module, duplicate the line of code that was added in Step 5 and make sure the correct Custom Field's name is used.
You can learn more about Custom Fileds by checking WordPress's official documentation