Skip to content

Commit 96787d1

Browse files
committed
Release version 2.0.0
1 parent e6a92f4 commit 96787d1

File tree

3 files changed

+34
-15
lines changed

3 files changed

+34
-15
lines changed

admin/plugin-init.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Process when plugin is activated
44
*/
55
function pvc_install(){
6-
update_option('a3_pvc_version', '1.4.0' );
6+
update_option( 'a3_pvc_version', '2.0.0' );
77

88
// empty pvc_daily table for daily
99
wp_schedule_event( time(), 'daily', 'pvc_empty_daily_table_daily_event_hook' );
@@ -128,14 +128,14 @@ function pvc_lite_upgrade_plugin () {
128128
update_option( 'pvc_settings', $pvc_settings );
129129
}
130130

131-
if ( version_compare( get_option('a3_pvc_version'), '1.4.1' ) === -1 ) {
132-
update_option('a3_pvc_version', '1.4.1');
131+
if ( version_compare( get_option('a3_pvc_version'), '2.0.0' ) === -1 ) {
132+
update_option('a3_pvc_version', '2.0.0');
133133

134134
// Build sass
135135
$a3_pvc_less->plugin_build_sass();
136136
}
137137

138-
update_option('a3_pvc_version', '1.4.1');
138+
update_option('a3_pvc_version', '2.0.0');
139139

140140
}
141141

page-views-count.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/*
33
Plugin Name: Page Views Count
44
Description: Show front end users all time views and views today on posts, pages, index pages and custom post types with the Page Views Count Plugin. Use the Page Views Count function to add page views to any content type or object created by your theme or plugins.
5-
Version: 1.4.0
6-
Requires at least: 4.0
7-
Tested up to: 4.7.5
5+
Version: 2.0.0
6+
Requires at least: 4.6
7+
Tested up to: 4.8
88
Author: a3rev Software
99
Author URI: https://a3rev.com
1010
Text Domain: page-views-count
@@ -21,7 +21,7 @@
2121
define('A3_PVC_JS_URL', A3_PVC_URL . '/assets/js');
2222
define('A3_PVC_IMAGES_URL', A3_PVC_URL . '/assets/images');
2323

24-
define('A3_PVC_VERSION', '1.4.0');
24+
define('A3_PVC_VERSION', '2.0.0');
2525

2626
/**
2727
* Load Localisation files.

readme.txt

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
=== Page View Count ===
2-
Contributors: a3rev, A3 Revolution Software Development team, nguyencongtuan
2+
Contributors: a3rev, a3rev Software, nguyencongtuan
33
Tags: wordpress page view, page view count , post views, postview count,
44
Requires at least: 4.6
55
Tested up to: 4.8
6-
Stable tag: 1.5.0
6+
Stable tag: 2.0.0
77
License: GPLv3
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

10-
Places an icon, all time views count and views today count at the bottom of posts, pages and custom post types on any Wordpress website.
10+
Places an icon, all time views count and views today count at the bottom of posts, pages and custom post types on any WordPress website.
1111

1212
== DESCRIPTION ==
1313

@@ -36,11 +36,11 @@ On the plugins dashboard in the + Page Views Count Function options box you will
3636

3737
= TROUBLESHOOTING =
3838

39-
* The number 1 support request we get about the plugin is that it double or triple counts page or post loads. Yes it does and if you see that it is a Red Flag that you have a misconfigfuration or bug in your theme or a plugin. Page Views Count does exactly that - counts each time the page or post is loading in the browser - if its counting twice it is because the browser is double loading the page. That is a bad thing and you or your developer needs to fix that.
39+
* The number 1 support request we get about the plugin is that it double or triple counts page or post loads. Yes it does and if you see that it is a Red Flag that you have a misconfiguration or bug in your theme or a plugin. Page Views Count does exactly that - counts each time the page or post is loading in the browser - if its counting twice it is because the browser is double loading the page. That is a bad thing and you or your developer needs to fix that.
4040

4141
= CONTRIBUTE =
4242

43-
When you download a3 Lazy Load, you join our community. Regardless of if you are a WordPress beginner or experienced developer if you’re interested in contributing to Page Views Count development head over to the [Page Views Count GitHub Repository](https://github.com/a3rev/a3-lazy-load) to find out how you can contribute.
43+
When you download a3 Lazy Load, you join our community. Regardless of if you are a WordPress beginner or experienced developer if you’re interested in contributing to Page Views Count development head over to the [Page Views Count GitHub Repository](https://github.com/a3rev/page-views-count) to find out how you can contribute.
4444
Want to add a new language to a3 Lazy Load? Great! You can contribute via [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/page-views-count)
4545

4646

@@ -69,8 +69,11 @@ The manual installation method involves down loading our plugin and uploading it
6969

7070
== Screenshots ==
7171

72-
1. Page Views Count is added to the bottom of posts and pages
73-
2. Page Views Count simple admin panel.
72+
1. Page Views Count Dashboard
73+
2. Counter Position and Style Options box and settings
74+
3. Counter Position Bottom and Alignment set to Left
75+
4. Counter Position Bottom and Alignment set to Centre
76+
5. Counter Position Bottom and Alignment set to Right
7477

7578

7679
== Usage ==
@@ -86,6 +89,19 @@ The manual installation method involves down loading our plugin and uploading it
8689

8790
== Changelog ==
8891

92+
= 2.0.0 - 2017/06/02 =
93+
* Feature - Upgrade Stats image icon to fontawesome Chart Icon
94+
* Feature - Add new + Counter Position and Style options box on plugins admin panel
95+
* Feature –- Added option to show Page Views Count at Top or Bottom of post and page content
96+
* Feature –- Added Page Views Count Alignment options Left, Centre or Right
97+
* Feature –- Added new fontawesome count icon size and colour settings
98+
* Feature - Registry endpoint /pvc/v1 for full automatic integration with WordPress JSON RESTful API
99+
* Feature –- Plugin source code now on public Github repository to allow users and developers to contribute
100+
* Tweak - Update Ajax load for connect to WordPress JSON RESTful API instead of calling to admin-ajax.php
101+
* Tweak - Register fontawesome in plugin framework with style name ‘font-awesome-styles’
102+
* Tweak –- Update plugins readme to show description of new features, link to Github Repo and translations page
103+
* Tweak –- Tested for compatibility with WordPress major version 4.8.0
104+
89105
= 1.4.0 - 2016/04/15 =
90106
* Feature - Define new 'Background Color' type on plugin framework with ON | OFF switch to disable background or enable it
91107
* Feature - Define new function - hextorgb() - for convert hex color to rgb color on plugin framework
@@ -238,6 +254,9 @@ The manual installation method involves down loading our plugin and uploading it
238254

239255
== Upgrade Notice ==
240256

257+
= 2.0.0 =
258+
Major Feature Upgrade. Release of 7 new features and 2 code tweaks for compatibility with upcoming WordPress major version 4.8.0
259+
241260
= 1.4.0 =
242261
Feature Upgrade. 3 new features, 5 tweaks for full compatibility with WordPress major version 4.5
243262

0 commit comments

Comments
 (0)