Changeset 209051
- Timestamp:
- 02/22/2010 02:01:05 PM (16 years ago)
- File:
-
- 1 edited
-
kf-most-read/trunk/kf_most_read.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kf-most-read/trunk/kf_most_read.php
r102936 r209051 4 4 Plugin URI: http://www.kifulab.net/wordpress-plugins/kf-most-read-plugin 5 5 Description: Shows the most viewed posts in an period of time defined by the user. Usage: just insert the code <?php kf_get_posts_by_hits(7,7) ?> where you want the list to be displayed (by default displays a <li> element for each entry). For more info about usage see the README.txt file or visit the plugin page 6 Version: 1. 16 Version: 1.2 7 7 Author: Kifulab.net 8 8 E-Mail: kifulab@gmail.com … … 39 39 function kf_register_post_hits(&$the_content){ 40 40 global $post, $wpdb; 41 $post_id = (int)$post->ID; 41 42 if(($post->post_status == 'publish') && (int)$post->ID){ 42 43 if(!empty($_SESSION)){
Note: See TracChangeset
for help on using the changeset viewer.