• Skip to primary navigation
  • Skip to main content

WP Conference Schedule

Just another WP Conference site

  • Features
  • Demo
  • Get Pro
  • Try Free

Shortcode

By Road Warrior Creative on April 30, 2019 in

Shortcode

Created OnApril 30, 2019
byRoad Warrior Creative
You are here:
  • Documentation
  • Free Version
  • Shortcode

If you are using the Classic Editor Plugin or prefer not to add your conference schedule to your website with a block, you can use a shortcode to add the schedule to any post or page of your site. The shortcode is also useful for adding your schedule to pages built with a page builder or to widget areas.

Below are instructions for using and configuring WP Conference Schedule’s shortcode included with the FREE version of our plugin.

The Default Shortcode

With the WP Conference Schedule plugin installed you can add the default shortcode [wpcs_schedule] to the post editor or a shortcode block.

The default shortcode displays with the attribute defaults listed below.

Shortcode Attributes

Shortcode attributes allow you to choose what displays on the schedule.

[wpcs_schedule date="2019-04-08" color_scheme="light" session_link="permalink" tracks="track-1,track-2,track-3"]

Date

  • This attribute filters the shortcode to only show sessions from a specific date.
  • Allowed date format: yyyy-mm-dd
  • Default: All dates
  • Example: [wpcs_schedule date="2019-04-08"]

color_scheme

  • This attribute allows you to choose the color scheme for the schedule.
  • Options:
    • light
    • dark
  • Default: light
  • Example: [wpcs_schedule color_scheme="light"]

layout

  • This attribute allows you to choose the layout for the schedule.
  • Options:
    • table
    • grid
  • Default: table
  • Example: [wpcs_schedule layout="table"]

session_link

  • This attribute allows you to define where the session links to.
  • Options:
    • permalink
      • Links to the session post.
    • anchor
      • Links to an ID of the session post slug on the same page.
      • Example: #my-session
    • none
      • No link will be used
  • Default: permalink
  • Example: [wpcs_schedule session_link="permalink"]

tracks

  • This attribute filters the shortcode to only show sessions that are in specified tracks that you have created.
  • Accepts a comma separated list of track term slugs. You can find the track slugs by navigating to Sessions → Tracks in your WordPress admin, as show in this screenshot.
  • Default: All tracks
  • Example: [wpcs_schedule tracks="track-1,track-2,track-3"]

align

  • This attribute allows you to define the alignment class added to the schedule. This correlates to the Gutenberg block classes and requires css styles to be added to your theme, unless you’re using a Gutenberg ready theme that already includes the align css styles.
  • Options:
    • full
    • wide
  • Default: null
  • Example: [wpcs_schedule align="full"]
Last Updated OnMarch 19, 2020

About Road Warrior Creative

Road Warrior Creative is a traveling digital marketing agency that specializes in building cool things in WordPress for social good organizations, nonprofits, government agencies, and - yes - conferences. Visit our website to see how we can help you.

  • Privacy Policy
  • Back to Top

© 2022 WP Conference Schedule · Website by Road Warrior Creative