Update: Sobek`s Posts in Category plugin v1.4 | ClockWorkBlogger
ClockWorkBlogger » Page 'Update: Sobek`s Posts in Category plugin v1.4'


Update: Sobek`s Posts in Category plugin v1.4

Sobek`s Posts in Category plugin is now v1.4 with an option to display a comment count with the ‘comments’ argument. I have also recoded the plugin and now it doesn’t matter in which order you enter the arguments i.e.

<?php sobeks_posts_in_category(’date’,’count’,’comments’,3,4,5,6); ?>

will produce the same result as

<?php sobeks_posts_in_category(3,’count’,4,5,’date’,6,’comments’); ?>

The comment argument will produce the number of comments e.g. “(438)” after the link to a post. If you omit the ‘comments’ argument e.g.

<?php sobeks_posts_in_category(’date’,3,4,5,6); ?>

or supply the ‘nocomments’ argument instead eg.

<?php sobeks_posts_in_category(’date’,’nocomments’,3,4,5,6); ?>

the number of replies will not be counted. I’m working hard on a new theme for the site and have not yet come to update the tutorial. Will be fixed in a few days :)

Posted in Updates
Tags: , , ,
Like this post? Spread the word!
delicious digg google
stumbleupon technorati Yahoo!

Like my work?

Amount:
Website(Optional):

Leave a comment