Regular Readers Plugin for WordPress
05.29.2008 by Denis - 0 CommentPosted in Plugin
Regular Readers Plugin can help you to check if current reader of your blog is a regular reader or not. And it can disply the following information in the footer of your WordPress blog:
- How many times the reader has visited your blog,
- and when did he visit your blog last time
After the plugin is uploaded and actived, you can add the following function in your template to display different information to regular reader and fresh reader:
<?php if(is_regular()){ //display something to regular reader }else{ //display something to fresh reader } ?>
The plugin is base on these two fatar to determine the regular reader: the times reader has visited your blog, the time period between last time and now. So you can edit the two parameters in the begin of the plugin:$regular_time 和 $regular_interval。
Download: regular_readers.zip