Changeset 1778990
- Timestamp:
- 11/30/2017 08:21:32 PM (8 years ago)
- Location:
- widget-display-conditions/trunk
- Files:
-
- 3 edited
-
package.json (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
src/WDC/Condition/Base.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
widget-display-conditions/trunk/package.json
r1777132 r1778990 1 1 { 2 2 "name": "widget-display-conditions", 3 "version": "0.1. 6",3 "version": "0.1.7", 4 4 "description": "", 5 5 "main": "js/main.js", -
widget-display-conditions/trunk/readme.txt
r1777132 r1778990 4 4 Requires at least: 4.9 5 5 Tested up to: 4.9 6 Stable tag: 0.1. 66 Stable tag: 0.1.7 7 7 Requires PHP: 5.6.27 8 8 License: GPLv2 or later … … 13 13 == Description == 14 14 15 With an easy to use interface you can control on which page you want a particular widget to be displayed. 15 With an easy to use interface you can control on which website page you want a particular widget to be displayed. 16 You 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 42 You 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. 16 45 17 46 == Installation == … … 27 56 28 57 == Changelog == 58 59 = 0.1.7 = 60 Release 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’ 29 68 30 69 = 0.1.6 = -
widget-display-conditions/trunk/src/WDC/Condition/Base.php
r1777258 r1778990 116 116 } 117 117 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 */ 118 127 public function apply( $value, $operator ) 119 128 {
Note: See TracChangeset
for help on using the changeset viewer.