Statify Widget

Description

The Statify widget shows the most popular content from Statify plugin made by pluginkollektiv. Fast and clear!

Statify

Plugin for visitor statistics with emphasis on privacy, transparency and clarity.

** Note **: This widget only works in conjunction with the Statify plugin.

Own content types

Own content types (Custom Post Types) are supported and can also be displayed.

Intelligent summary

Once there are different paths to a content, the widget adds them together and adds the calls.

New: period selectable

You can now choose an individual daily period for the most popular content. Just set in the widget.

Calls of individual contents

The shortcode [statify-count] can be used to display calls to the current post or page. With the options “prefix” and “suffix” displayed texts can be checked before (prefix) and after (suffix) the calls:

[statify-count prefix="Total " suffix=" calls."]

Result: A total of 243 views.

Settings

The following settings can be made in the widget:

  • Title
  • Content Type (Default: post )
  • Category (when content type post is select)
  • Amount (default: 5)
  • Show calls (default: No)
  • Custom text (Replace variable for views: %VIEWS%)
  • Number of past days

Support

Friendly questions about the widget I like to answer under * Support *.

Author

Screenshots

  • Statify Widget Result
  • Statify Widget Settings

Installation

Install the plugin [Statify] (https://wordpress.org/plugins/statify/) by pluginkollektiv. And then from the plugin directory “Statify Widget” install and activate.

Manually:

  1. Load the folder “statify-widget” into the plugin folder (./wp-content/plugins/)
  2. Activate the plugin on your page
  3. Add the “Satify Widget” under Design > Widgets

FAQ

Error: The widget does not find any entries

Statify has not added statistics yet.

Show pages and posts together

Yes! Since 1.1.4 that works. Just in the content type widget: select “Pages and posts”. He then displays the default content types “post” and “page” together.

Show views of individual articles / pages

This is possible with the shortcode and theme functions. Specifying a prefix and suffix is ​​not mandatory:

[statify-count prefix =" Total "suffix =" calls. "]

The following functions return the number of calls for an article ID ($ post_id) in the theme. If no ID is given, the number of the current page will be returned.

  • get_statify_count ($ post_id) (just the number needed echo call)
  • statify_count ($ post_id) (with finished text)

Example: ` Calls

The total views of the page can be over:

[statify-count-sum prefix="Total" suffix="calls."]

Alternative it is possible, to call this in theme with:

statify_count_sum ()

Calling!

I do not have static page as homepage

No problem. A pseudo “Home” entry appears.

I changed the permalink structure

This changes nothing. The plugin takes every Statify entry and adds it together sensibly.

Change design

Just the CSS classes:
* .statify-widget-list {...}
* .statify-widget-element {...}
* .statify-widget-link {...}

Change list from numeric to points

If you want to change the list of contents (1st, 2nd, 3rd, …) to bullets, just add the following to the CSS:
.statify-widget-element {
list-style-type: circle;
}

Reviews

September 3, 2016
Plugin installiert, Widget eingefügt, CSS angepasst - Fertig. Vielen Dank.
Read all 4 reviews

Contributors & Developers

“Statify Widget” is open source software. The following people have contributed to this plugin.

Contributors

“Statify Widget” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Statify Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.7

  • Add some description and tested up to WordPress v5.6

1.2.5

  • Fixed bug in backend for category select

1.2.4

  • Fixed ressourcen bug. Add required java script folder.

1.2.3

  • Add feature to filter for post category in widget.

1.2.2

  • Fixed another bug for unpublished posts

1.2.1

  • Translate whole plugin into English.
  • Fixed “show views” translation bug.

1.2

  • English and German language
  • Fixed a link bug in the widget
  • Shortcode for total number of views

1.1.9

  • Correction of a translation error.
  • List type setting has been removed.

1.1.8

  • The plugin is now ready for translation.
  • You can now choose between the list type (<ol> or <ul>) per widget.
  • Now the classes statify-widget-list,statify-widget-element and statify-widget-link have been added as class to make a more flexible design possible.

1.1.7

  • List type ordered (<ol>) changed to unordered (<ul>) for higher theme compatibility.
  • Outdated create_function () method swapped.
  • Bug with shotcode usage removed (statify_count edited in Statify_Posts.class.php)

1.1.6

  • The functionality of restricting a time period for the content has been added.
  • Fixed a bug that caused the homepage to ignore when choosing “Posts + Pages”.

1.1.5

  • An error has been removed. He had always shown the number of views at the end of a page.

1.1.4

  • Content Type: “Posts and Pages” added to show together
  • Views for article shortcode and theme function

1.1.3

  • Recording the evolution and tested for WordPress 4.7.6

1.1.2

  • Corrections in the validation

1.1.1

  • Custom text for the number of views
  • Unused require_once () removes
  • span element added by the number of views

1.1

  • Limitation of records canceled
  • added title attribute to the links

1.0

  • Release of the first version