Plugin Directory

Changeset 1778990


Ignore:
Timestamp:
11/30/2017 08:21:32 PM (8 years ago)
Author:
MaartenM
Message:
  • added comments
  • changed plugin version to 0.1.7
Location:
widget-display-conditions/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • widget-display-conditions/trunk/package.json

    r1777132 r1778990  
    11{
    22  "name": "widget-display-conditions",
    3   "version": "0.1.6",
     3  "version": "0.1.7",
    44  "description": "",
    55  "main": "js/main.js",
  • widget-display-conditions/trunk/readme.txt

    r1777132 r1778990  
    44Requires at least: 4.9
    55Tested up to: 4.9
    6 Stable tag: 0.1.6
     6Stable tag: 0.1.7
    77Requires PHP: 5.6.27
    88License: GPLv2 or later
     
    1313== Description ==
    1414
    15 With an easy to use interface you can control on which page you want a particular widget to be displayed.
     15With an easy to use interface you can control on which website page you want a particular widget to be displayed.
     16You can use built-in conditions or create some of your own.
     17
     18=== Built-in conditions ===
     19
     20* post type
     21* post status
     22* post template
     23* post category
     24* post format
     25* post tag
     26* post taxonomy
     27* post
     28* page type (front page, posts page, search page, 404 page, date page, author page, top level page, parent page, child page)
     29* page parent
     30* page template
     31* page
     32* attachment
     33* post type archive
     34* taxonomy archive
     35* author archive
     36* user role
     37* user logged in
     38* user
     39
     40=== Custom conditions ===
     41
     42You can easily alter or create conditions, categories, operators of your own.
     43
     44[read the tutorial](http://maartenmenten.be/plugins/widget-display-conditions/adding-a-condition/) for more information.
    1645
    1746== Installation ==
     
    2756
    2857== Changelog ==
     58
     59= 0.1.7 =
     60Release date: Nov 30th, 2017
     61
     62* Enhancement - renamed category id ‘media’ to ’attachment’
     63* Enhancement - provided the ability to set the default operators
     64* Enhancement - added operator ’is greater than’
     65* Enhancement - added operator ’is less than’
     66* Enhancement - added operator ‘is greater or equal than’
     67* Enhancement - added operator ’is smaller or equal than’
    2968
    3069= 0.1.6 =
  • widget-display-conditions/trunk/src/WDC/Condition/Base.php

    r1777258 r1778990  
    116116    }
    117117
     118    /**
     119     * Apply
     120     *
     121     * Returns the result of the condition.
     122     *
     123     * @param $value mixed The value the user has choosen.
     124     * @param $operator WDC_Operator_Base The operator object
     125     * @return boolean
     126     */
    118127    public function apply( $value, $operator )
    119128    {
Note: See TracChangeset for help on using the changeset viewer.