WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rjnjc
    Member
    Posted 7 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.

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

    which outputs as

    <ul>
       <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>
    </ul>

    and looks like

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

    Question:
    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
    Member
    Posted 7 years ago #

    anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic