Giter Site home page Giter Site logo

cherryframework / cherry-trending-posts Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 1.0 1020 KB

Adds rating and views count for posts and custom post types

Home Page: http://www.cherryframework.com/plugins/

JavaScript 27.32% CSS 14.03% PHP 58.64%
posts widget popular views rating comments cherry-framework

cherry-trending-posts's Introduction

Cherry Trending Posts

Description

Adds rating and views count for posts and custom post types.

Installation

  1. Upload "cherry-trending-posts" folder to the "/wp-content/plugins/" directory
  2. Activate the plugin through the "Plugins" menu in WordPress
  3. Place <?php do_action( 'cherry_trend_posts_display_rating' ); ?> in your templates (index.php or single.php) within the loop.
  4. Place <?php do_action( 'cherry_trend_posts_display_views' ); ?> in your templates (index.php or single.php) within the loop.

And of course, you will find new "Trending Post" widget in "Appearance - Widgets" menu in your WordPress admin panel.

Changelog

= 1.0.0 =

  • Initial release

cherry-trending-posts's People

Contributors

cheh avatar kaskad88 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

saurindashadia

cherry-trending-posts's Issues

PHP 7 errors when scanning with PHP Compatibility Checker

Hi, getting the following errors when scanning the plugin with "PHP Compatibility Checker" plugin.

Is this a false positive?

FILE: /home/.../wp-content/plugins/cherry-trending-posts/cherry-framework/modules/cherry-utility/inc/cherry-attributes-utilit.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 99 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /home/.../wp-content/plugins/cherry-trending-posts/cherry-framework/setup.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------
 14 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
-------------------------------------------------------------------------------------------------------------------------

FYI, other "Cherry *" plugins have warning as well. Mostly in relation to the use of the deprecated create_function() function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.