Build Timetable shortcode manually

Here is a list of all attributes for shortcode [mp-timetable ... ]:

col – comma-separated column IDs.
events – comma-separated event IDs.
event_categ – comma-separated event category IDs.
increment – hour measure; possible values 1 – hour (1h), 0.5 – half an hour (30min), 0.25 – quarter an hour (15min).
title – display event title; possible values 1 or 0.
time – display event time; possible values 1 or 0.
sub-title – display event subtitle; possible values 1 or 0.
description – display event description; possible values 1 or 0.
user – display event head; possible values 1 or 0.
row_height – event block height in pixels; example 45
font_size – base font size for the table; example 12px, 2em, 80%.
view – filter style; possible values dropdown_list or tabs.
label – filter label; default is All Events.
hide_label – display ‘All Events’ label or not; possible values 1 or 0.
hide_hrs – hide first (hours) column; possible values 1 or 0.
hide_empty_rows – hide empty rows; possible values 1 or 0.
group – merge cells with common events; possible values 1 or 0.
disable_event_url – disable event URL; possible values 1 or 0.
text_align – horizontal align; possible values left, center, right.
text_align_vertical – vertical align ; possible values default, top, middle, bottom.
id – unique ID.
custom_class – CSS class.
responsive – mobile layout; possible values 1 – display as list, 0 – display as table.

Example of the shortcode:

[mp-timetable col="111,222,333" events="444,555" event_categ="777,999" title="1" time="1" sub-title="1" description="1" user="1" row_height="45" font_size="12" increment="1" view="dropdown_list" label="All Events" hide_label="0" hide_hrs="0" hide_empty_rows="1" group="0" disable_event_url="0" text_align="center" text_align_vertical="default" id="id selector" custom_class="class selector" responsive="1"]

Leave a Reply

Your email address will not be published. Required fields are marked *