Support » Themes and Templates » Inserting code into Template | Top/Recent Commenter

  • 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="" title="Visit Joe Bob's site">Joe Bob</a> (75)</li>
       <li>No Homepage Guy (56)</li>
       <li><a href="" 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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Inserting code into Template | Top/Recent Commenter’ is closed to new replies.