| Methods Summary | ||
|---|---|---|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
shortcode_list( array $_atts )
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 wich 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)*
filter |
|
public
|
||
public
|
||
public
|
||
public
|
#
shortcode_ui( )
set_shortcode_ui
needs Shortcake (shortcode UI) plugin
https://wordpress.org/plugins/shortcode-ui/
|
|
| Properties Summary | ||
|---|---|---|
public
|
$EP
|
#
NULL
|