Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsBlog Module
How to Replace the Pipe " | " in the Blog Module Post's Meta
How to Replace the Pipe " | " in the Blog Module Post's Meta

Change the pipe character in the blog meta tag.

Updated over a week ago

The Divi theme is using the pipe symbol " | " to separate the Post's Meta tags: 

Divi Blog module

You can change the pipe symbol " | " by following the instructions below:

  1. Go to WordPress Dashboard → Divi → Theme Options → Integration tab → Header

  2. Copy and paste the following JS code:

    <script>
    jQuery(function ($) {
    $(document).ready(function () {
    var post_meta = $('article .post-meta');
    if (post_meta.length) {
    post_meta.each(function () {
    $(this).html($(this).html().replace(/\|/g, " *"))
    })
    }
    });
    });
    </script>

The result can be seen below, where the pipe symbol | was replaced with a star * 

Note: This code will change the pipe symbol on all the posts, including single posts, the blog module, and all archive/category/search pages.

Change the star * character in the code to your desired character.

Did this answer your question?