Methods |
public
|
__construct()
|
#
|
public
|
shortcode_single(array $atts): string
Shortcode single
|
#
|
public
|
shortcode_term(array $atts): string
Get terms from a shortcode
Get terms from a shortcode
|
#
|
public
|
shortcode_cat($_atts)
|
#
|
public
|
shortcode_list(array $_atts): string
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)
|
#
|
public
|
shortcode_timeline(array $_atts): string
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)
|
#
|
public
|
shortcode_map(array $_atts): string
Shortcode to display a map of events
Shortcode to display a map of events
|
#
|
public
|
shortcode_cal(array $_atts): string
Shortcode to display a calendar of events
Shortcode to display a calendar of events
|
#
|
public
|
shortcode_search(type $_atts): type
Shortcode for search
|
#
|