Page Visit Counter - Version 4.0.3

Version Description

  • 24-12-2016 =
  • Fixies - Fixed the shortcode issues.
  • Compatible with WordPress Version 4.7
Download this release

Release Info

Developer dots
Plugin Icon 128x128 Page Visit Counter
Version 4.0.3
Comparing to
See all releases

Code changes from version 4.0.2 to 4.0.3

README.txt CHANGED
@@ -4,10 +4,10 @@ Plugin URI: http://multidots.com/
4
  Author: Multidots
5
  Author URI: http://multidots.com/
6
  Contributors: dots, ketuchetan, chiragpatel
7
- Stable tag: 4.0.2
8
  Tags: page counter,page visit, post counter, post visit, wordpress post view, wordpress page view, page visit graph, post visit graph,
9
  Requires at least: 2.1
10
- Tested up to: 4.6.1
11
  Donate link:
12
  Copyright: (c) 2014-2016 Multidots Solutions PVT LTD (info@multidots.com)
13
  License: GPLv3 or later
@@ -18,6 +18,8 @@ This plugin will count the total visits of your sites pages.
18
  == Description ==
19
  This Plugin use for front side post and pages counter. After activation of plugin it will automatically add page counts on bottom of all pages. So, that all visitors can see page counts for entire site pages. Plugin provide search by page title and search by page published date facilities. Settings are required for page counter. Plugin provide to select specific post type to include in post /pages counter. Plugin also provide to exclude specific IP/s and specific register user to exude from post/pages counter.
20
 
 
 
21
  = Page Counter Settings: =
22
  * In these options you can do different setting for page visit counter.
23
  * Short Code: There are two shortcuts that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin that's creating its own display content in a page / post.
@@ -103,7 +105,7 @@ In the search field type Page Visit Counter and click Search Plugins. Once you'v
103
 
104
  In which WordPress version this Plugin is compatible?
105
 
106
- It is compatible from 2.1 to 4.6.1 WordPress version.
107
 
108
  == Upgrade Notice ==
109
 
@@ -111,6 +113,10 @@ Automatic updates should work great for you. As always, though, we recommend ba
111
 
112
  == Changelog ==
113
 
 
 
 
 
114
  = 4.0.2 - 06-10-2016 =
115
  * Fixies - Fixed the Globally count issue.
116
  * Change the readme file.
4
  Author: Multidots
5
  Author URI: http://multidots.com/
6
  Contributors: dots, ketuchetan, chiragpatel
7
+ Stable tag: 4.0.3
8
  Tags: page counter,page visit, post counter, post visit, wordpress post view, wordpress page view, page visit graph, post visit graph,
9
  Requires at least: 2.1
10
+ Tested up to: 4.7
11
  Donate link:
12
  Copyright: (c) 2014-2016 Multidots Solutions PVT LTD (info@multidots.com)
13
  License: GPLv3 or later
18
  == Description ==
19
  This Plugin use for front side post and pages counter. After activation of plugin it will automatically add page counts on bottom of all pages. So, that all visitors can see page counts for entire site pages. Plugin provide search by page title and search by page published date facilities. Settings are required for page counter. Plugin provide to select specific post type to include in post /pages counter. Plugin also provide to exclude specific IP/s and specific register user to exude from post/pages counter.
20
 
21
+ Plugin Demo : <a href ="http://pagevisitcounter.demo.store.multidots.com/" target="_blank">View Demo</a>
22
+
23
  = Page Counter Settings: =
24
  * In these options you can do different setting for page visit counter.
25
  * Short Code: There are two shortcuts that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin that's creating its own display content in a page / post.
105
 
106
  In which WordPress version this Plugin is compatible?
107
 
108
+ It is compatible from 2.1 to 4.7 WordPress version.
109
 
110
  == Upgrade Notice ==
111
 
113
 
114
  == Changelog ==
115
 
116
+ = 4.0.3 - 24-12-2016 =
117
+ * Fixies - Fixed the shortcode issues.
118
+ * Compatible with WordPress Version 4.7
119
+
120
  = 4.0.2 - 06-10-2016 =
121
  * Fixies - Fixed the Globally count issue.
122
  * Change the readme file.
admin/class-page-visit-counter-admin.php CHANGED
@@ -115,9 +115,12 @@ class page_visit_counter_Admin {
115
  //enqueue script for notice pointer
116
  wp_enqueue_script( 'wp-pointer' );
117
 
118
-
119
  wp_enqueue_script('one', plugin_dir_url( __FILE__ ) . 'js/custom.js', array( 'jquery' ), $this->version, false );
120
-
 
 
 
121
  wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/jquery.dataTables.min.js', array( 'jquery' ), $this->version, false );
122
 
123
  //wp_enqueue_script('google-chart', 'https://www.gstatic.com/charts/loader.js', array( 'jquery' ), $this->version);
@@ -447,7 +450,7 @@ class page_visit_counter_Admin {
447
  .tabs div#chartContainer3-main {float:left;width:50%;}
448
  .tabs div#chartContainer5-main {float:left;width:50%;}
449
  </style>
450
- <div class="back"><h5><a class="button button-primary" href="/wp-admin/admin.php?page=page_visit_counter">&#x2190; Back to list</a></h5></div>
451
  <div style="">
452
  <div id="page-vist-fancybox" class="page-counter-fancybox">
453
  <div id="tabs">
@@ -858,9 +861,9 @@ class page_visit_counter_Admin {
858
  <p><?php echo __('There are two shortcodes that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin thats create it\'s own display content in page/post.','page-visit-counter'); ?></p>
859
  <p><?php echo __('Use this shortcode to add admin side content on page/post:', 'page-visit-counter'); ?> <b><?php echo __(htmlspecialchars('[page_visit_counter_md id="<page_id/post_id>"]'),'page-visit-counter'); ?></b></p>
860
  <p><?php echo __('Use this shortcode to display total sites visit to add admin side content on page/post:', 'page-visit-counter'); ?> <b><?php echo __(htmlspecialchars('[page_visit_counter_md_total_sites_visit backgroundcolor="#ff0000" countboxcolor="#000000" fontcolor="#FFFFFF" bordercolor="#ff0000"]'),'page-visit-counter'); ?></b></p>
861
- <p><?php echo __('Use this shortcode to add page/post template (.php) file of your own template:','page-visit-counter'); ?> <b><?php echo __(htmlspecialchars('<?php echo do_shortcode("[page_visit_counter_md id="<page_id/post_id>"]"); ?>'),'page-visit-counter'); ?></b></p>
862
- <p><?php echo __('Use this shortcode to display total sites visit to add page/post template (.php) file of your own template:','page-visit-counter'); ?> <b><?php echo __(htmlspecialchars('<?php echo do_shortcode("[page_visit_counter_md_total_sites_visit backgroundcolor="#ff0000" countboxcolor="#000000" fontcolor="#FFFFFF" bordercolor="#ff0000"]"); ?>'),'page-visit-counter'); ?></b></p>
863
- </fieldset>
864
  </div>
865
 
866
  <div class="set_pvc_containter set_plugin_descriptions">
115
  //enqueue script for notice pointer
116
  wp_enqueue_script( 'wp-pointer' );
117
 
118
+ if (!empty($_GET['page']) && $_GET['page'] != '' && $_GET['page'] == 'page_visit_counter') {
119
  wp_enqueue_script('one', plugin_dir_url( __FILE__ ) . 'js/custom.js', array( 'jquery' ), $this->version, false );
120
+ }
121
+ if (!empty($_GET['page']) && $_GET['page'] != '' && $_GET['page'] == 'page_visit_settings') {
122
+ wp_enqueue_script('one', plugin_dir_url( __FILE__ ) . 'js/custom.js', array( 'jquery' ), $this->version, false );
123
+ }
124
  wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/jquery.dataTables.min.js', array( 'jquery' ), $this->version, false );
125
 
126
  //wp_enqueue_script('google-chart', 'https://www.gstatic.com/charts/loader.js', array( 'jquery' ), $this->version);
450
  .tabs div#chartContainer3-main {float:left;width:50%;}
451
  .tabs div#chartContainer5-main {float:left;width:50%;}
452
  </style>
453
+ <div class="back"><h5><a class="button button-primary" href="<?php echo site_url()?>/wp-admin/admin.php?page=page_visit_counter">&#x2190; Back to list</a></h5></div>
454
  <div style="">
455
  <div id="page-vist-fancybox" class="page-counter-fancybox">
456
  <div id="tabs">
861
  <p><?php echo __('There are two shortcodes that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin thats create it\'s own display content in page/post.','page-visit-counter'); ?></p>
862
  <p><?php echo __('Use this shortcode to add admin side content on page/post:', 'page-visit-counter'); ?> <b><?php echo __(htmlspecialchars('[page_visit_counter_md id="<page_id/post_id>"]'),'page-visit-counter'); ?></b></p>
863
  <p><?php echo __('Use this shortcode to display total sites visit to add admin side content on page/post:', 'page-visit-counter'); ?> <b><?php echo __(htmlspecialchars('[page_visit_counter_md_total_sites_visit backgroundcolor="#ff0000" countboxcolor="#000000" fontcolor="#FFFFFF" bordercolor="#ff0000"]'),'page-visit-counter'); ?></b></p>
864
+ <p><?php echo __('Use this shortcode to add page/post template (.php) file of your own template:','page-visit-counter'); ?> <b> <?php echo "&lt;?php echo do_shortcode('[page_visit_counter_md id='page_id/post_id']');?&gt;"?></b></p>
865
+ <p><?php echo __('Use this shortcode to display total sites visit to add page/post template (.php) file of your own template:','page-visit-counter'); ?> <br><b> &lt;?php echo do_shortcode('[page_visit_counter_md_total_sites_visit backgroundcolor='#ff0000' countboxcolor='#000000' fontcolor='#FFFFFF' bordercolor='#ff0000']');?&gt; </b></p>
866
+ </fieldset>
867
  </div>
868
 
869
  <div class="set_pvc_containter set_plugin_descriptions">
page_visit_counter.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin URI: http://www.multidots.com/
8
  * Description: This plugin will count the total visits of your sites pages.
9
  * Author: Multidots
10
- * Version: 4.0.2
11
  * Author URI: http://www.multidots.com/
12
  */
13
  // If this file is called directly, abort.
7
  * Plugin URI: http://www.multidots.com/
8
  * Description: This plugin will count the total visits of your sites pages.
9
  * Author: Multidots
10
+ * Version: 4.0.3
11
  * Author URI: http://www.multidots.com/
12
  */
13
  // If this file is called directly, abort.