Title: Adding comments bubble to custom theme
Last modified: August 20, 2016

---

# Adding comments bubble to custom theme

 *  [nickharambee](https://wordpress.org/support/users/nickharambee/)
 * (@nickharambee)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/)
 * Hi,
 * I have designed a custom theme for WordPress, which you can see [here](http://salliannputman.com/blog/).
 * I would like to add the comments bubble from the Twenty Eleven theme to my theme,
   and it looks like this could be somewhat complicated. I am wondering if someone
   can post the instructions for how to do so here or a link to a tutorial. I have
   done some searching but haven’t turned up much of use.
 * Thanks,
 * Nick

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443093)
 * I have just done this. Its pretty easy. One problem I am having is just displaying
   the number of comments. If none I want a blank bubble. I have tried inserting
   this code from the codex with no luck –
 * [link to code](http://pastebin.com/VY5STzL5)
 * this is the code that all is needed for the comment bubble to work.-
 * [link to code](http://pastebin.com/3ZxQaxHD)
 * any help with just displaying the number would be greatly appreciated!
 *  [Jarret](https://wordpress.org/support/users/jarretc/)
 * (@jarretc)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443102)
 * **nickharambee —**
 * You would go into /twentyeleven/images and grab the comment-bubble.png file from
   in there and move it into your theme.
 * Create a DIV for it to be displayed in…
 *     ```
       <div class="comment-bubble">
          <a href="<?php comments_link(); ?>">
             <?php comments_number( 'No Comments', '1 Comment', '% Comments' ); ?>
          </a>
       </div>
       ```
   
 * Then for the CSS do something like…
 *     ```
       .comment-bubble {
          background-image: url('images/comment-bubble.png');
          width: 43px;
          height: 36px;
       }
       ```
   
 * That should get you started.
 * **mxpimp47 —**
 * You can just use comments_number() like so…
 * `<?php comments_number( ' ', '1 Comment', '% Comments' ); ?>`
 *  [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443117)
 * I forgot to mention that I am having trouble with the intense debate comment 
   plugin overriding the default comment view count. When im not running the intense
   debate comments its awesome and works fine. But Its showing right now the words“
   comments (0)” and I cant find anywhere to change it….
 *  [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443121)
 * I got it, when you login to intense debate, you go to settings/misc and then 
   change the way its displayed on the count. Hope that helps anyone if they ever
   have the same issue I did. Thanks JarretC for your suggestion.
 * [@nickharambee](https://wordpress.org/support/users/nickharambee/) the link to
   the code I sent and what JarretC said should get you running. Im sure you will
   want to use the same chunk of code he posted above. There is several variations
   of displaying comments.
 *  [jummy](https://wordpress.org/support/users/jummy/)
 * (@jummy)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443493)
 * Thanks a million, mxpimp47! Your little trick for displaying Intense Debate comments
   was very helpful!
 *  [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443494)
 * no problem jummy

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Adding comments bubble to custom theme’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)

 * 6 replies
 * 4 participants
 * Last reply from: [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/adding-comments-bubble-to-custom-theme/#post-2443494)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
