blog

Posts Tagged ‘Yet Another Photoblog’

Using Templates with YARPP 3

Wednesday, January 14th, 2009

In this blog post I describe features in YARPP version 3.0. From those of you who were testing the beta, YARPP templates now go in your theme, and they must be of the form yarpp-template-.php.

If you have a YARPP support question not directly related to the templating feature, please use the YARPP support forums.

Version 3 of Yet Another Related Posts Plugin is a major rewrite which adds two new powerful features: caching and templating. Today I’m going to show you how you can use templates to customize the look of your related posts output.1

Previously with YARPP you were relatively limited in the ways you could present related posts. You were able to set some HTML tags to wrap your posts in and choose how much of an excerpt (if any) to display. This limited interface worked great for many users—indeed, these options still exists in YARPP 3.0. However, there’s also a new option for those of you who want to put your PHP skills to work and have complete control over your related posts display. The option will let you choose any files in the templates subdirectory of YARPP.

templates interface

(more…)


  1. For those of you interested in the WP and SQL voodoo used to make this happen, I’ve posted a more technical article


© 2006-2010 mitcho (Michael 芳貴 Erlewine).
Proudly powered by WordPress.
Entries (RSS) and Comments (RSS).
The views expressed on these pages are mine alone and do not
reflect those of my employers and clients, past and present.