Keine Veranstaltungen

 

 

 

 

SHORTCODES
Home > Documentation

Shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes are in this format:

Keine Veranstaltungen

Event information can also be displayed through shortcode. Just insert one of the following shortcodes into any of your posts/pages. You can even include shortcode within event and location descriptions!

Event Shortcodes

Displays a list of events. If you enter html and placeholders within the shortcode, each event will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor). Accepts any of the event, location and general search attributes.

The above will display events occurring tomorrow in the United States in a paragraph format.

Keine Veranstaltungen

The above will display events grouped by month occurring in the United States and may look like this:

This will show the event with post ID 123, and replace #_EVENTNAME with the name of this event.

<br /> Displays a text link which links to the events page. If you add text in between opening and closing shortcode tags, it will become the link text, like so:</p> <p>[events_link]alternate events link text

Would become alternate events link text

https://moosbuehne.de/termine/
Displays the events page url (e.g. “http://yoursite.com/events/”).

RSS

Would become alternate RSS link text

https://moosbuehne.de/termine/feed/
Displays the events RSS url (e.g. “http://yoursite.com/events/rss/”)

Lade Karte ...

This is pretty much the same as
Lade Karte ...
except that it searches for events with locations, rather than locations. . Use this instead if you’re wanting to search for locations with specific event related filters such as categories, tags or locations with events that are happening during a specific time period. Accepts any of the event, location and general search attributes.

Location Shortcodes

Displays a list of locations. If you enter html and location placeholders within the shortcode, each location will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor). Accepts any of the event, location and general search attributes.

Example:


Displays a list of locations. If you enter html and location placeholders within the shortcode, each location will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor). Accepts any of the event, location and general search attributes.

Example:

The above will display location links with events occurring tomorrow in the United States in an unordered list format.


Displays a single location. If you enter html and location placeholders within the shortcode, the location will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor).

This shortcode requires either the post_id OR location attribute and also accepts other location and general search attributes.

Example:

[location post_id="123"]My selected location is called Treffpunkt: Am Schloss Birkeneck – Birkeneck 1

This will show the location with post ID 123, and replace #_LOCATIONNAME with the name of this location.

Lade Karte ...

Inserts a map of multiple locations. Accepts any of the location and general search attributes, as well as these:

width : The width in pixels of the map. Default: 450.
height : The height in pixels of the map. Default: 300.
map_style : A base64 encoded JSON map style object. See our maps documentation for styling instructions.
Example:

Lade Karte ...

Will show events located in the US, which may look like this:

The balloon appears once a marker is clicked on, and the content of the balloon can be configured with placeholders in Events > Settings > Formats/Templates > Maps and Geotagging section of your admin area.

Category Shortcodes

Displays a list of event categories. If you enter html and category placeholders within the shortcode, each category will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor). Accepts any of the category and general search attributes. as well as $args available to the WordPress get_terms function.

Example:


Displays a list of event categories. If you enter html and category placeholders within the shortcode, each category will be formatted this way (note that you should add your html using the HTML tab of the WordPress content editor). Accepts any of the category and general search attributes. as well as $args available to the WordPress get_terms function.

Example:

    • [categories_list hide_empty=0]

    • Theater

The above will display category links including those without events in an unordered list format.

Calendar Shortcodes

Mo
Di
Mi
Do
Fr
Sa
So
M
D
M
D
F
S
S
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4

Displays a calendar. Accepts any of the event, location and general search attributes (except for the scope attribute) as well as these two:

full : Shows a full sized calendar if set to 1. Default: 0
long_events : Displays events that span more than one day on each calendar cell where it’s active if set to 1. Default: 0
Example :

Mo
Di
Mi
Do
Fr
Sa
So
M
D
M
D
F
S
S
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4

Will show a full-sized calendar displaying events within the US which have a category ID of 1,2,3, or 4 that occur on February 2012 (default starting month will be 02/2012), which may look like this: