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”
Love the theme so far but still learning a lot! Is it possible to move the comment bubble to always appear at the end of the first line of a heading? A lot of my post headings are longer and go to a second line which causes the bubble to overlap letters from the top line. Please let me know what code I can use to change this. Thanks!
Hi, this is possible but would be technically hard to achieve… 🙂
Hi there,
Thanks for code snippet; I have tried both snippets in the style.css field in my child theme, however the comment bubbles remain.
I would love some help, if possible? Please go easy on the technical terms…this is new to me!
Thanks!
Kate.
Hi Kate,
Those snippets have to be pasted in the functions.php file of your child theme.
You might want to read this quick guide on how to customize the customizr wordpress theme.
Hope this helps and congrats for your nice website!
Wonderful, thank you so much Nicholas. I reinstalled the child theme and I can now see the functions.php file (I couldn’t before). I must not have installed it correctly initially.
I love the theme and all the code snippets available, thank you so much!