Inserting code into Template | Top/Recent Commenter (2 posts)

  1. rjnjc
    Posted 8 years ago #

    I have just installed and activated Tpo/Recent Commenters plugin. The last item in the installation instructions is:

    # Add a call to the function to your template (see examples below).

    I am not very familiar (yet!) with the templates and the php codes etc and needed someone's help on this.

    I would like to insert the following code into the template.

       <?php c2c_get_commenters('top', 3); ?>

    which outputs as

       <li><a href="http://www.joebob.org" title="Visit Joe Bob's site">Joe Bob</a> (75)</li>
       <li>No Homepage Guy (56)</li>
       <li><a href="http://www.suzy.org" title="Visit Suzy's site">Suzy</a> (41)</li>

    and looks like

    * Joe Bob (75)
    * No Homepage Guy (56)
    * Suzy (41)

    1. where would I fine this template where I need to insert the code?
    2. Is there a specific place within this template where I need to insert this code?

  2. rjnjc
    Posted 8 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic