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)
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?
- The topic ‘Inserting code into Template | Top/Recent Commenter’ is closed to new replies.