Version Description
Download this release
Release Info
Developer | Ajay |
Plugin | Top 10 – Popular posts plugin for WordPress |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.0.1
- readme.txt +1 -1
- top-10-counter.js.php +1 -1
- top-10.php +1 -1
readme.txt
CHANGED
@@ -29,7 +29,7 @@ You can then display the page view count on individual pages as well as display
|
|
29 |
|
30 |
== Changelog ==
|
31 |
|
32 |
-
* 1.0 - Release
|
33 |
|
34 |
|
35 |
== Frequently Asked Questions ==
|
29 |
|
30 |
== Changelog ==
|
31 |
|
32 |
+
* 1.0.1 - Release
|
33 |
|
34 |
|
35 |
== Frequently Asked Questions ==
|
top-10-counter.js.php
CHANGED
@@ -26,7 +26,7 @@ function tptn_disp_count() {
|
|
26 |
$resultscount = $wpdb->get_row("select postnumber, cntaccess from $table_name WHERE postnumber = $id");
|
27 |
$cntaccess = (($resultscount) ? $resultscount->cntaccess : 0);
|
28 |
|
29 |
-
echo 'document.write("
|
30 |
}
|
31 |
}
|
32 |
tptn_disp_count();
|
26 |
$resultscount = $wpdb->get_row("select postnumber, cntaccess from $table_name WHERE postnumber = $id");
|
27 |
$cntaccess = (($resultscount) ? $resultscount->cntaccess : 0);
|
28 |
|
29 |
+
echo 'document.write("'.$before_count.$cntaccess.$after_count.'")';
|
30 |
}
|
31 |
}
|
32 |
tptn_disp_count();
|
top-10.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Top 10
|
4 |
-
Version: 1.0
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
|
6 |
Description: Count visits per post and display the top 10 posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=tptn_options">Configure...</a>
|
7 |
Author: Ajay D'Souza
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Top 10
|
4 |
+
Version: 1.0.1
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/top-10/
|
6 |
Description: Count visits per post and display the top 10 posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=tptn_options">Configure...</a>
|
7 |
Author: Ajay D'Souza
|