On a recent project, my customer wanted to display post tags on his blog articles.

Whilst this isn’t an option available in Divi, I have found that by adding some code to your functions.php file, the Tags will display just below the blog featured image.

So, ideally, you are using a Child theme to ensure that you protect your Divi customisation from being overriden by an update. Either way, you should find your functions.php file under Appearance > Editor.

Simply add the code below to the file and jobs a good’un! (remember to always backup your site before you edit php files, just in case ๐Ÿ™‚ )

function tags_after_single_post_content($content) {

if( is_singular('post') && is_main_query() ) {

$tags = the_tags('

Tagged with: ',' โ€ข ','


$content .= $content . $tags;
return $content;
add_filter( 'the_content', 'tags_after_single_post_content' );

In bold is where you can change the text to display before your tags.

Was this post helpful?