Methods summary
public
|
|
public
|
#
init( )
Call functions when WP is ready
Call functions when WP is ready
|
public
string
|
#
shortcode_single( array $atts )
Shortcode single
Parameters
Returns
string
Filter
: eventpost_params
|
public
string
|
#
shortcode_term( array $atts )
Get terms from a shortcode
Get terms from a shortcode
Parameters
Returns
string
|
public
|
|
public
string
|
#
shortcode_list( array $_atts )
Shortcode to display a list of events
Shortcode to display a list of events
Query parameters
- nb=5 (number of post, -1 is all, default: 5)
- future=1 (boolean, retreive, or not, events in the future, default = 1)
- past=0 (boolean, retreive, or not, events in the past, default = 0)
- cat='' (string, select posts only from the selected category, default=null, for all categories)
- tag='' (string, select posts only from the selected tag, default=null, for all tags)
- geo=0 (boolean, retreives or not, only events which have geolocation informations, default=0)
- order="ASC" (string (can be "ASC" or "DESC")
- orderby="meta_value" (string (if set to "meta_value" events are sorted by event date, possible values are native posts fileds : "post_title","post_date" etc...)
Display parameters
- thumbnail="" * (Bool, default:false, used to display posts thumbnails)*
- thumbnail_size="" * (String, default:"thmbnail", can be set to any existing size : "medium","large","full" etc...)*
- excerpt="" * (Bool, default:false, used to display posts excerpts)*
- style="" * (String, add some inline CSS to the list wrapper)*
- type=div (string, possible values are : div, ul, ol default=div)
- title='' (string, hidden if no events is found)
- before_title="<h3>" (string (default <h3>)
- after_title="</h3>" (string (default </h3>)
- container_schema="" (string html schema to display list)
- item_schema="" (string html schema to display item)
Parameters
Returns
string
Filter
eventpost_params
|
public
string
|
#
shortcode_timeline( array $_atts )
Shortcode to display a list of events
Shortcode to display a list of events
Query parameters
- nb=5 (number of post, -1 is all, default: 5)
- future=1 (boolean, retreive, or not, events in the future, default = 1)
- past=0 (boolean, retreive, or not, events in the past, default = 0)
- cat='' (string, select posts only from the selected category, default=null, for all categories)
- tag='' (string, select posts only from the selected tag, default=null, for all tags)
- geo=0 (boolean, retreives or not, only events which have geolocation informations, default=0)
Display parameters
- excerpt="" * (Bool, default:false, used to display posts excerpts)*
- style="" * (String, add some inline CSS to the list wrapper)*
- type=div (string, possible values are : div, ul, ol default=div)
- title='' (string, hidden if no events is found)
- before_title="<h3>" (string (default <h3>)
- after_title="</h3>" (string (default </h3>)
- container_schema="" (string html schema to display list)
- item_schema="" (string html schema to display item)
Parameters
Returns
string
Filter
eventpost_params
|
public
string
|
#
shortcode_map( array $_atts )
Shortcode to display a map of events
Shortcode to display a map of events
Parameters
Returns
string
Filter
eventpost_params
|
public
string
|
#
shortcode_cal( array $_atts )
Shortcode to display a calendar of events
Shortcode to display a calendar of events
Parameters
Returns
string
Filter
eventpost_params
|
public
type
|
|