Changeset 1765386
- Timestamp:
- 11/13/2017 07:37:43 PM (8 years ago)
- Location:
- am-events/trunk
- Files:
-
- 2 edited
-
am-events.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
am-events/trunk/am-events.php
r1749376 r1765386 4 4 Plugin URI: https://wordpress.org/plugins/am-events/ 5 5 Description: Adds a post type for events and a customizable widget for displaying upcoming events. 6 Version: 1.13. 06 Version: 1.13.1 7 7 Author: Atte Moisio 8 8 Author URI: http://attemoisio.fi … … 288 288 * *************************************************************************** */ 289 289 290 function am_custom_script_post( ) {290 function am_custom_script_post($hook) { 291 291 global $post; 292 if ( $post->post_type !== 'am_event' || !is_admin()) {292 if ('post.php' != $hook || !is_admin() || $post->post_type !== 'am_event') { 293 293 return; 294 294 } -
am-events/trunk/readme.txt
r1749382 r1765386 1 1 === AM Events === 2 2 Contributors: Moisture 3 Tags: event list, events, upcoming events, event list, custom post type, custom taxonomy, plugin, widget3 Tags: events, event, venue, calendar, dates, date, list, workshop, concert, meeting, summit, class, upcoming, widget 4 4 Requires at least: 3.3.1 5 Tested up to: 4.8. 26 Stable tag: 1.13. 05 Tested up to: 4.8.3 6 Stable tag: 1.13.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 Adds an event post type with an interface and template tags similar to normal posts. Also includes a customizable widget for upcoming events.10 Adds an 'Event' post type similar to normal posts allowing to define dates, categories and venues. Includes a widget for displaying upcoming events. Fully customizable layouts. 11 11 12 12 == Description == 13 13 14 Th e plugin adds a custom event post type with two taxonomies: event category and venue.15 16 Allows the user to add newevents just like normal posts with added fields for start time, end time, category and venue. You can also easily create weekly or biweekly recurring events.14 This plugin was created for a need of a simple to use event plugin allowing a fully customizable layout. Other calendar plugins often provide way too many complicated features and resort to pre-built layouts. 15 16 The plugin adds a custom 'am_event' post type with two taxonomies: 'am_event_category' and 'am_venue'. Dates are stored as post metadata. This allows the user to create events just like normal posts with added fields for start time, end time, category and venue. You can also easily create weekly or biweekly recurring events. 17 17 18 18 Displaying the events is done in the theme files using WP_Query and the template tags provided by the plugin. This allows full control over the layout and what elements to show. 19 19 20 20 The plugin also includes a widget for showing upcoming events. It uses a very simple template system for full control of the layout. 21 22 For integrating AM Events to an existing theme, I suggest creating a [child theme](http://codex.wordpress.org/Child_Themes) with custom page templates. You can find an example of a working Twenty Twelve child theme from [https://github.com/attemoi/am-events-child-theme](https://github.com/attemoi/am-events-child-theme) containing three different page templates for event pages.23 24 See Other Notes for detailed information and a small tutorial about the custom post type and the widget.25 21 26 22 If you think something critical is missing, feel free to send me a request. … … 47 43 48 44 == Changelog == 45 46 = 1.13.1 = 47 * Fix PHP debug error on some admin pages 49 48 50 49 = 1.13.0 = … … 143 142 == Upgrade Notice == 144 143 144 = 1.13.1 = 145 * Fixes a debug PHP error on some admin pages 146 145 147 = 1.13.0 = 146 148 * Replaces jQuery datepicker with flatpickr … … 231 233 * Fixes bugs in the upcoming events -widget 232 234 233 == Widget == 235 == TUTORIAL == 236 237 For integrating AM Events to an existing theme, I suggest creating a [child theme](http://codex.wordpress.org/Child_Themes) with custom page templates. You can find an example of a working Twenty Twelve child theme from [https://github.com/attemoi/am-events-child-theme](https://github.com/attemoi/am-events-child-theme) containing three different page templates for event pages. 238 239 = Widget = 234 240 235 241 Here are the shortcodes available in the upcoming events widget template.
Note: See TracChangeset
for help on using the changeset viewer.