New event blocks shortcode

This commit is contained in:
Brian Miyaji
2014-04-29 14:10:35 +10:00
parent 3629674013
commit 12932e0f55
3 changed files with 38 additions and 2 deletions

View File

@@ -20,8 +20,9 @@ class SP_Shortcodes {
'event_details' => __CLASS__ . '::event_details',
'event_performance' => __CLASS__ . '::event_performance',
'countdown' => __CLASS__ . '::countdown',
'event_list' => __CLASS__ . '::event_list',
'event_calendar' => __CLASS__ . '::event_calendar',
'event_list' => __CLASS__ . '::event_list',
'event_blocks' => __CLASS__ . '::event_blocks',
'league_table' => __CLASS__ . '::league_table',
'player_list' => __CLASS__ . '::player_list',
'player_gallery' => __CLASS__ . '::player_gallery',
@@ -126,6 +127,17 @@ class SP_Shortcodes {
return self::shortcode_wrapper( array( 'SP_Shortcode_Event_List', 'output' ), $atts );
}
/**
* Event blocks shortcode.
*
* @access public
* @param mixed $atts
* @return string
*/
public static function event_blocks( $atts ) {
return self::shortcode_wrapper( array( 'SP_Shortcode_Event_Blocks', 'output' ), $atts );
}
/**
* Team columns shortcode.
*