Wordpress related posts

Posted in work with tags , , .

May 9, 08

Comments

Trackback

I installed a wordpress plugin which is written by a friend: Denis. It returns the related posts by tags.

I want to put it in sidebar. So I added a widget function for this plugin. Also the content filters were commented out so that it won’t borther to filter my post contents everytime since I don’t want to display them in post or feeds.

Although it works fine for me now, there are still some things to be improved:

  1. If the number of related posts does not reach to display limit, it should have option to fill with random or most commented posts.
  2. The title section really need to be moved out from the main code generate function.
  3. Take count of category. The posts in the same category are related.
  4. Denis submitted v0.6 to SVN trunk! I wander how he released v0.7 via SVN…

I will send Denis my patch tomorrow. Hopefully he will merge it into next release, and, fix the functions I wanted here.



No comments!

Reply