WordPress K2 Theme Sidebar Testimonial Refresher

I know that’s a mouthful. Maybe this screen shot will better explain what I’ve done.

I use the Random Quotes plugin which allows you to embed random quotes into your pages. In case my visitors don’t realize that a random quote is generated every time the page is refreshed, I added the following code to my K2 theme sidebar.php file, right below the About stuff.

<h2>Testimonials</h2>
<span class="metalink"><a href="/" class="feedlink"><img src="http://www.donovanwatts.com/images/arrow_refresh.png" width="16" height="16" alt="Refresh" title="Testimonial Refresher" description="Click here to see another testimonial."/></a></span>
<p><?php wp_quotes_random(); ?></p>

The arrow_refresh.png graphic came with the K2 theme. I put a copy of it in my /images folder. Now, a visitor can simply click the green testimonial refresher button to refresh the page and see a new quote.

If I were writing a manual, which I’m not, this would be my first entry. The name of the manual isn’t WordPress: The Missing Manual. All rumors are purely speculation and I cannot comment on the topic any further at this time.