Disabling the comment bubbles in Customizr

UPDATE 22 April 2015: Added filter priority value greater than 10 to ensure compatibility with new Customizr and Customizr-Pro versions.

You might want to disable the red bubble displaying the number of comments, next to post titles.

Here are two snippets to do it :


1) Disabling comment bubbles everywhere

add_filter('tc_bubble_comment' , 'disable_all_bubbles', 20);
function disable_all_bubbles() {
    return '';

Note: You can disable the comment bubbles, or chose among two different styles, sitewide in Appearance -> Customize -> Content: home, post, grid, … -> Comments

2) Disabling comment bubbles only on home

add_filter('tc_bubble_comment' , 'disable_bubbles_home', 20);
function disable_bubbles_home( $default ) {
    if ( ! tc__f('__is_home') )
        return $default;
    return '';


Where to paste this code? => in your functions.php file. I strongly recommend to create a child theme. Download a start-up child theme here.

Everything you need to know about child theme with Customizr here.

Read How to customize the Customizr WordPress theme? if have never used a functions.php file in a child theme.


5 thoughts on “Disabling the comment bubbles in Customizr”

Comments are closed.