Other Posts is a simple plugin to show related posts under the post visitors are reading and let you to freely design the list.
I know, there are other plugins like mine, so what are the added values of Other Posts?
Other Posts lets you to design the look of related posts list. Like creating a simple theme, you have some tags (link, title, image, …) and can write the HTML to compose the related posts list. A special tag called “image” extract the first image in the post.
I wrote it for two reasons:
- have a related post list with custom layout
- use it with Post Layout to add related posts without modify the theme
- it’s used by Comment Notifier Extras and Postcards Extras
All articles on this blog about Other Posts can be found under the tag “other posts“.
It’s now available on WordPress plugin directory, here.
Discussion about Other Posts can be found or started on this forum.
Usage of Other Posts
To add the related post list, usually you have to open the single.php of your current theme and add the PHP code:
<?php oposts_show(); ?>
or can use Post Layout and add such line of code in the single post bottom code injection configuration. Below a screenshot (click to enlarge) of a blog I manage (www.maguardaunpo.it) with the Other Posts call configured with Post Layout Pro.
Other Posts comes with a predefined layout which is a table suitable for most blog design but you can modify it as you like.
The layout is composed by an header block, a footer block and a body block. The body block will be repeated for the number of related posts found (limited by max posts values).
Tags need to be used within the body block and will be replaced with related post data (such as title, permalink, excerpt, image and so on). Available tags are documented below the body block textarea in the configuration panel (click to enlarge).
And now the result of related posts in a real blog.
by Stefano Lissa