Skip to content

Instantly share code, notes, and snippets.

ChrisScottUK / tw_custom_upcoming_events_widget.php
Last active Nov 24, 2015 — forked from Pebblo/tw_custom_upcoming_events_widget.php
This is a copy of the original EE upcoming events widget that includes a field to allow you to select the order of the events.
View tw_custom_upcoming_events_widget.php
Plugin Name: Custom EE Upcoming Events Widget
Description: Add a custom Upcoming Events widger with a 'sort' field to allow you to sort ASC or DESC.
Author: Tony Warwick
Version: 1.0
/* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */
class Custom_Upcoming_Events extends WP_Widget {
You can’t perform that action at this time.