Title: recent comments ? coffee2code plugin
Last modified: August 18, 2016

---

# recent comments ? coffee2code plugin

 *  [nydramamama](https://wordpress.org/support/users/nydramamama/)
 * (@nydramamama)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/)
 * I had this in the wrong section before so I’m reposting here. I just need to 
   know where in my index.php to put the coding. I’ve tried it in different places
   with no success. (Newly newbie so missing the obvious, I’m sure.)
 * my site is [http://www.startletheechoes.com](http://www.startletheechoes.com)
   
   i’m using wordpress 1.5 safari 1.25 os x 10.3
 * Thanks!

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

 *  [lawtai](https://wordpress.org/support/users/lawtai/)
 * (@lawtai)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-188833)
 * You should be able to put it wherever you want it to appear. Typically people
   put it in their sidebar.php file. But you can put it anywhere I believe.
 *  Thread Starter [nydramamama](https://wordpress.org/support/users/nydramamama/)
 * (@nydramamama)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-188865)
 * I’m referring to the coding that says:
 * function c2c_get_recently_commented ($num_posts = 5,
    Â Â $format = ”
    - %comments_URL%
      %last_comment_date%%comments_fancy%
    - “,
       Â Â $categories = ”, Â Â $order = ‘DESC’, Â Â $offset = 0, Â Â $date_format
      = ‘m/d/Y h:i a’, Â Â $authors = ”, Â Â $include_passworded_posts = false)
    - The installation instructions say that this should be put in the index.php
      file.
 *  [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [20 years, 11 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-188882)
 * That is the definition of the function, not the code to insert into your site
   templates. Look at the examples section of the plugin’s page, [http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/#examples](http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/#examples)
 * What you’d be putting into your sidebar.php would be closer to:
 * `<ul>Recently Commented
    <?php c2c_get_recently_commented(); ?> </ul>
 * The instructions were originally written for WP 1.2, but I’ve just updated it
   to mention sidebar.php instead.
 *  Thread Starter [nydramamama](https://wordpress.org/support/users/nydramamama/)
 * (@nydramamama)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-189092)
 * Thanks! I knew I was missing something obvious.
 *  [sanvig](https://wordpress.org/support/users/sanvig/)
 * (@sanvig)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-189488)
 * Newbie here too 🙂
 * I’m still missing out on where to put the code for the function, and how?
 * If I paste it into sidebar.php it simply gets typed out, and I’m screwed … does
   it go in there before the first DIV tag, after the last /DIV tag or some place
   else? And does it take PHP tags around it, and/or/and …. I’m lost 🙂
 * Sorry to bug ya … but need help.
 *  Thread Starter [nydramamama](https://wordpress.org/support/users/nydramamama/)
 * (@nydramamama)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-189494)
 * sanvig – i’m not really the one to help but i’ll try. first off, are you making
   sure to save after you paste the code? and are you pasting the code not the function?

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

The topic ‘recent comments ? coffee2code plugin’ is closed to new replies.

## Tags

 * [coffee2code](https://wordpress.org/support/topic-tag/coffee2code/)

 * 6 replies
 * 4 participants
 * Last reply from: [nydramamama](https://wordpress.org/support/users/nydramamama/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/recent-comments-coffee2code-plugin/#post-189494)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
