Recent Comments Plugin Help Needed

Instructions:


1) Place the files in the specified directories

2) Look at the top of recent-comments.php for usage examples

OK, I was able to do #1 with no problem. But what exactly is #2 tellimg me to do and what am I supposed to do with the examples? I know this was created with the devloper in mind, but I think more details need to be added. What do I need to do next?

  • Ovidiu
    • Code Wrangler

    well, I went and downloaded that particular plugin, just to check out what wasn’t clear. The example code is:

    Usage:
    display_recent_comments(NUMBER,CONTENT_CHARACTERS,GLOBAL_BEFORE,GLOBAL_AFTER,BEFORE,AFTER,LINK);

    Ex:
    display_recent_comments(10,150,'<ul>','</ul>','<li>','</li>','no');

    The line starting with usage means you have to use that particular php function where you want to display the output of the recent comments and the line starting with Ex. shows you possible values.

    Now go and insert it somewhere, like <?php display_recent_comments(10,150,'<ul>','</ul>','<li>','</li>','no'); ?> and see what happens…

  • Qlof
    • The Crimson Coder

    This, as a widget, doesn’t work for me. I have no idea why. Nothing in the error log. The latest posts widget works fine.

    I don’t really use it but if more people than me have problem with it I can try to see whats wrong…