Changeset 1397471
- Timestamp:
- 04/16/2016 09:08:42 PM (10 years ago)
- Location:
- am-events/trunk
- Files:
-
- 3 edited
-
am-events.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
-
widget-upcoming-events.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
am-events/trunk/am-events.php
r1249123 r1397471 4 4 Plugin URI: http://wordpress.org/extend/plugins/am-events/ 5 5 Description: Adds a post type for events and a customizable widget for displaying upcoming events. 6 Version: 1.1 0.06 Version: 1.11.0 7 7 Author: Atte Moisio 8 8 Author URI: http://attemoisio.fi … … 63 63 * [if cond="startday-is-endday"] 64 64 * [if cond="startday-not-endday"] 65 * [if cond="has-venue"] 66 * [if cond="has-category"] 65 67 * 66 68 * Template tags: -
am-events/trunk/readme.txt
r1249126 r1397471 3 3 Tags: event list, events, upcoming events, event list, custom post type, custom taxonomy, plugin, widget 4 4 Requires at least: 3.3.1 5 Tested up to: 4. 3.16 Stable tag: 1.1 0.05 Tested up to: 4.5 6 Stable tag: 1.11.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 56 56 == Changelog == 57 58 = 1.11.0 = 59 * Added new conditional shortcodes for venues and categories 57 60 58 61 = 1.10.0 = … … 141 144 142 145 == Upgrade Notice == 146 147 = 1.11.0 = 148 * Adds new conditional shortcodes for venues and categories 143 149 144 150 = 1.10.0 = … … 242 248 * [if cond="startday-is-endday"] 243 249 * [if cond="startday-not-endday"] 244 245 250 * [if cond="has-venue"] 251 * [if cond="has-category"] 246 252 247 253 The title can be linked to the event post with the 'link' attribute, e.g. [event-title link=true] -
am-events/trunk/widget-upcoming-events.php
r1249123 r1397471 348 348 $result = am_get_the_startdate() === am_get_the_enddate() ? $m[1] . $m[5] . $m[6] : ''; 349 349 return $this->parse_event($result); 350 351 case 'has-venue': 352 $result = am_get_the_venue() == true ? $m[1] . $m[5] . $m[6] : ''; 353 return $this->parse_event($result); 354 355 case 'has-category': 356 $result = am_get_the_event_category() == true ? $m[1] . $m[5] . $m[6] : ''; 357 return $this->parse_event($result); 350 358 351 359 case 'startday-is-endday':
Note: See TracChangeset
for help on using the changeset viewer.