开发者 |
schedllc
codeforthepeople johnbillion simonwheatley |
---|---|
更新时间 | 2022年2月22日 10:05 |
PHP版本: | 3.4 及以上 |
WordPress版本: | 5.9 |
版权: | GPL v2 or later |
[sched url="http://example.sched.com/"]
Replace http://example.sched.com/
with the URL of the event page you wish to embed. You can use the URL of any page of your event on sched.com. Simply copy the URL of the page from sched.com and paste it into your shortcode.You can specify the width of the embed using the width
attribute:
[sched url="http://example.sched.com/" width="500"]
Note that sched.com only supports widths of 500, 600, 700, 800 and 900 (pixels). The default width is 990 pixels.
You can hide the sidebar in the embed by setting the sidebar
attribute to 'no':
[sched url="http://example.sched.com/" sidebar="no"]
You can specify a colour scheme which is suitable for use on a dark background by setting the background
attribute to 'dark':
[sched url="http://example.sched.com/" background="dark"]
Note that this does not put a dark background behind the schedule, it simply changes the text colour to be suitable for a dark background if your site has one.
You can specify the fallback text which will be shown to users who have JavaScript disabled:
[sched url="http://example.sched.com/"]View my event on sched.com[/sched]
If you don't specify this, the title of the event page will be used.
[sched.com]
to be used as the shortcode[sched.org]
to be used as the shortcode in addition to [sched]
.