Scenario:  You have a Divi Post Slider, but do not want to comment counter if you are not allowing site visitors to comment on these posts (and seeing “0 Comments” is undesirable).  You only want to show the author, date, and category post meta.  However, there is no option in the Post Slider settings to select specific elements of the meta data to turn on or turn off.   

The Fix:  You can insert the javascript snippet of code into your child theme, and the result is that the “0 Comments” will not display.

        $('.et_pb_post_slider .post-meta').html(function (_,txt) {
            return txt.slice(0, -11);