Shortcode Options [Pro Only]

This feature is available in Pro version 1.1.0 and later.

taxonomy: Add a tax_query to the event query by designating a taxonomy slug.

[piecal taxonomy="category"]

terms: Used in conjunction with 'taxonomy' attribute to designate which terms to filter events by. Comma separated if multiple are designated.

[piecal taxonomy="category" terms="one, two"]

operator: Choose an operator to use in the tax_query. Available options are 'IN’, ‘NOT IN’, ‘AND’, ‘EXISTS’ and ‘NOT EXISTS’. Default value is ‘IN’

[piecal taxonomy="category" terms="one, two" operator="IN"]

Examples

Video demonstration:

Show all posts that have any category.

[piecal taxonomy="category" terms="" operator="EXISTS"]

Show only posts that are in the Concerts category.

[piecal taxonomy="category" terms="Concerts"]

Show all posts except those that are in the Outdoors category.

[piecal taxonomy="category" terms="Outdoors" operator="NOT IN"]

Comma Separated List of Post Types

Available as of Pro version 1.2.1

When using the [piecal type=""] attribute, you can now add a comma separated list of post types to tell Pie Calendar to only show posts from the specified post types.

For example if you wanted to show only posts from an "Events" CPT and your default WordPress posts, your shortcode would look like this:

[piecal type="events, post"]

Disable Adaptive Time Zones

If you want to disable adaptive time zones on your calendar entirely, you can add the following parameter to your shortcode:

[piecal adaptiveTimeZone=false]
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.