Title: shortcode
Last modified: February 29, 2020

---

# shortcode

 *  Resolved [icetechy](https://wordpress.org/support/users/icetechy/)
 * (@icetechy)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/)
 * Hi, Please how can I display shortcode of this view counter?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12498200)
 * [@icetechy](https://wordpress.org/support/users/icetechy/)
 * Are you using the Gutenberg editor on your site or the classic editor ?
 *  Thread Starter [icetechy](https://wordpress.org/support/users/icetechy/)
 * (@icetechy)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12499240)
 * I am using classic editor and elemento.
 *  Thread Starter [icetechy](https://wordpress.org/support/users/icetechy/)
 * (@icetechy)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12509478)
 * Hi you never got back to me. Please how can I get the shortcode to display total
   views?
 *  Thread Starter [icetechy](https://wordpress.org/support/users/icetechy/)
 * (@icetechy)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12509494)
 * Hi I also wanted to add that we should be able to use your plugin as widgets 
   on elementor and we should also have the ability to change the icons. this upgrade
   is crucial to meet up to todays standard of plugins:
 * 1. Shortcode
    2. Widgets e.g elementor widget 3. Icon change. (I will like to
   have the eye ball icon instead for instance)
 * Thank you
 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12518460)
 * [@icetechy](https://wordpress.org/support/users/icetechy/)
 * **It seems that what you are asking for is that we add ** compatibility with 
   the Elementor Templating system. To add a Page View Counter to an Elementor template
   requires a shortcode or a Elementor Compatible Widget.
 * Page Views count in fact is ‘today’s standards’ for WordPress.
 * * WordPress new Gutenberg editor was released in December 2018
    * That same month
   we Released v 2.1.0 which had the PVC Gutenberg block. Here is part of that changelog
 * **= 2.1.0 – 2018/12/14 =**
    * This feature upgrade ports Page View Count editor
   meta to Page Views Gutenberg block. Full compatibility with WP 5.0.1, 4.9.9 and
   the Classic editor. * Feature – Add Dynamic Page Views Block for Gutenberg. Admin
   can use block to show anywhere in post content. When insert the block it auto
   deactivates global show PVC at top or bottom of that post. * Tweak – Global PVC
   metabox that shows on editor sidebar **works with both Gutenberg and Classic 
   Editor **
 * In September 2019 we completely rewrote the Plugin PHP to use the newest PHP 
   code recommendations being Composer PHP dependency manager – here is the changelog
   for that.
 * **= 2.2.0 – 2019/09/12 =**
    * This feature upgrade is a full refactor of the 
   plugins PHP to PHP dependency manager Composer with autoloading. * Feature – 
   Plugin fully refactored to Composer for cleaner code and faster PHP code
 * As it happens we have had adding compatibility for ELementor with a shortcode
   and a widget on the plugins roadmap since late last year.
 * Your idea about being able to set an eye icon instead of the graph is a neat 
   suggestion and we have included it in the upcoming release. We have not and will
   not add a font icon script like fontawesome as it would mean the loading of an
   extra external JS with each page load. Good to avoid doing that – The icon that
   loads now is svg format – which is very good in that it is actually code and 
   not an image that has to be downloaded by the browser.
 * We are currently working on the Feature Release Version 2.3.0
 * The features in this new version include
 * * Counter View Types – Option to just show ## Total Views – not show ## Views
   Today
    * PVC Shortcode – Shortcode will include these Parameters [pvc_stats postid
   =”” increase=”1″ show_views_today=”1″]
 * postid=”” Post/Page ID want to show stats, leave empty for use ID of current 
   post.
 * increase=”” (1|0)
    1: increase count and show stats. 0: show stats only without
   increase count.
 * show_views_today=”” (1|0)
    1: show Views Today. 0: hide Views Today. * PVC Widget
   has the same parameters * Add new Counter eye icon option * Tested for full compatibility
   with elementor template editor.
 * We have built it and are now in the review/update/test phase of the release. 
   We are aiming for release of version 2.3.0 early next week.
 * Thanks for your feedback – Steve
 *  Plugin Author [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * (@a3rev)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12526744)
 * Hello [@icetechy](https://wordpress.org/support/users/icetechy/)
 * Page View Count new feature version 2.3.0 is out. The changelog is below. 100%
   compatible with Elementor Templates, add by shortcode or widget plus a new eye
   icon. I will change the status of this ticket to ‘resolved’ – you can still reply
   if you wish.
 * Steve
 * **= 2.3.0 – 2020/03/10 =**
    This feature release contains, new PVC shortcode,
   new PVC Widget, option to only show total views, a new eye icon option, full 
   compatibility with Elementor Templates, completion of PHP Composer refactor and
   4 PHP fixes for compatibility with PHP v 7.0 to 7.4. Feature – Add new PVC shortcode[
   pvc_stats postid=”” increase=”1″ show_views_today=”1″] Feature – Add new PVC 
   widget Feature – Add new Counter Icon eye option Feature – Add Counter Views 
   Type option: Default is ## Total Views, ## Views Today, Option is ## Total Views(
   hide Views Today) Feature – Plugin Framework fully refactored to Composer for
   cleaner code and faster PHP code Feature – Full compatibility with Elementor 
   Templates Tweak – Conter Position and Style Options box, added Counter Views 
   Type option Tweak – Counter Position and Style Options box, added new Counter
   Icon eye option Tweak – Added new + Page Views Count Shortcode options box with
   shortcode and parameters Tweak – Update plugin for compatibility with new version
   of plugin Framework Tweak – Tested for compatibility with WordPress v 5.3.2 Fix–
   Update global ${$this- to $GLOBALS[$this to resolve 7.0+ PHP warnings Fix – Update
   global ${$option to $GLOBALS[$option to resolve 7.0+ PHP warnings Fix – Update
   less PHP lib that use square brackets [] instead of curly braces {} for Array,
   depreciated in PHP 7.4 Fix – Validate for not use get_magic_quotes_gpc function
   for PHP 7.4

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘shortcode’ is closed to new replies.

 * ![](https://ps.w.org/page-views-count/assets/icon.svg?rev=986301)
 * [Page View Count](https://wordpress.org/plugins/page-views-count/)
 * [Support Threads](https://wordpress.org/support/plugin/page-views-count/)
 * [Active Topics](https://wordpress.org/support/plugin/page-views-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-views-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-views-count/reviews/)

## Tags

 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 6 replies
 * 2 participants
 * Last reply from: [Steve Truman](https://wordpress.org/support/users/a3rev/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-723/#post-12526744)
 * Status: resolved