Skip to content

Commit

Permalink
Release version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alextuan committed Jun 2, 2017
1 parent e6a92f4 commit 96787d1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 15 deletions.
8 changes: 4 additions & 4 deletions admin/plugin-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Process when plugin is activated
*/
function pvc_install(){
update_option('a3_pvc_version', '1.4.0' );
update_option( 'a3_pvc_version', '2.0.0' );

// empty pvc_daily table for daily
wp_schedule_event( time(), 'daily', 'pvc_empty_daily_table_daily_event_hook' );
Expand Down Expand Up @@ -128,14 +128,14 @@ function pvc_lite_upgrade_plugin () {
update_option( 'pvc_settings', $pvc_settings );
}

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

// Build sass
$a3_pvc_less->plugin_build_sass();
}

update_option('a3_pvc_version', '1.4.1');
update_option('a3_pvc_version', '2.0.0');

}

Expand Down
8 changes: 4 additions & 4 deletions page-views-count.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
/*
Plugin Name: Page Views Count
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.
Version: 1.4.0
Requires at least: 4.0
Tested up to: 4.7.5
Version: 2.0.0
Requires at least: 4.6
Tested up to: 4.8
Author: a3rev Software
Author URI: https://a3rev.com
Text Domain: page-views-count
Expand All @@ -21,7 +21,7 @@
define('A3_PVC_JS_URL', A3_PVC_URL . '/assets/js');
define('A3_PVC_IMAGES_URL', A3_PVC_URL . '/assets/images');

define('A3_PVC_VERSION', '1.4.0');
define('A3_PVC_VERSION', '2.0.0');

/**
* Load Localisation files.
Expand Down
33 changes: 26 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
=== Page View Count ===
Contributors: a3rev, A3 Revolution Software Development team, nguyencongtuan
Contributors: a3rev, a3rev Software, nguyencongtuan
Tags: wordpress page view, page view count , post views, postview count,
Requires at least: 4.6
Tested up to: 4.8
Stable tag: 1.5.0
Stable tag: 2.0.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

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.
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.

== DESCRIPTION ==

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

= TROUBLESHOOTING =

* 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.
* 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.

= CONTRIBUTE =

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.
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.
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)


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

== Screenshots ==

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


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

== Changelog ==

= 2.0.0 - 2017/06/02 =
* Feature - Upgrade Stats image icon to fontawesome Chart Icon
* Feature - Add new + Counter Position and Style options box on plugins admin panel
* Feature –- Added option to show Page Views Count at Top or Bottom of post and page content
* Feature –- Added Page Views Count Alignment options Left, Centre or Right
* Feature –- Added new fontawesome count icon size and colour settings
* Feature - Registry endpoint /pvc/v1 for full automatic integration with WordPress JSON RESTful API
* Feature –- Plugin source code now on public Github repository to allow users and developers to contribute
* Tweak - Update Ajax load for connect to WordPress JSON RESTful API instead of calling to admin-ajax.php
* Tweak - Register fontawesome in plugin framework with style name ‘font-awesome-styles’
* Tweak –- Update plugins readme to show description of new features, link to Github Repo and translations page
* Tweak –- Tested for compatibility with WordPress major version 4.8.0

= 1.4.0 - 2016/04/15 =
* Feature - Define new 'Background Color' type on plugin framework with ON | OFF switch to disable background or enable it
* Feature - Define new function - hextorgb() - for convert hex color to rgb color on plugin framework
Expand Down Expand Up @@ -238,6 +254,9 @@ The manual installation method involves down loading our plugin and uploading it

== Upgrade Notice ==

= 2.0.0 =
Major Feature Upgrade. Release of 7 new features and 2 code tweaks for compatibility with upcoming WordPress major version 4.8.0

= 1.4.0 =
Feature Upgrade. 3 new features, 5 tweaks for full compatibility with WordPress major version 4.5

Expand Down

0 comments on commit 96787d1

Please sign in to comment.