Wavecast
  • Start here
  • Events
    • Getting started
    • Setup your first event
    • Copy an existing event
    • Publish an event
      • Speakers
      • Sponsors
      • Resources
      • Testimonials
      • Copy
  • Publishing
    • Agendas
    • Create content
    • Control access
      • Adding Tickets, Passes & Guest Passes
        • Coupons: Schedule, manage and promote
        • Adding and Updating ad-hoc Coupons
        • Approval/Declining Process of Registration Requests
        • Guest list to invite contacts and track responses
        • Approval/Declining Process of Guest Passes
      • Hard and Soft Limits
      • Managing opt-ins
      • Metering
      • Extra Fields for Content
      • Import users
      • Email Lists
    • Classify & personalise
      • Create & configure taxonomies
    • Custom Headers
      • Headers
      • Templating Language
    • Shortcodes
      • Access Settings
      • Content
      • Content with Search Bar
      • Event Manager
      • Events with Search Bar
      • Full Width Carousel Slider
      • Countdown
      • Buttons
      • Popular Now
      • Engagement Tools
      • Events
      • RSS Feeds
    • Images
    • Widgets
    • Ad Banners
  • Emails
    • Create a campaign
      • Customise Email CTAs
      • Building Complex Emails
      • Email Segmentation
      • Email Templates
    • Organise contacts
      • Add email addresses to Lists
      • Send a campaign to a list
    • Advanced Emails
      • Send an event campaign to hub audience
      • Adjust user email preferences
      • Change reply-to email address
    • Campaign Reports
      • Link Clicks
      • Suppressed
      • Recipients
      • Inflated Clicks & Opens
  • Live
    • Engage audiences
      • Audience Q&A
      • In-Feed Graphics
      • Polls
      • Quotes
      • Related Content
      • Networking
      • Meeting Rooms
    • Deliver live content
      • Slides
    • Troubleshooting for audiences
    • Remote Production
      • Live Broadcast
        • Book a live broadcast
        • Prepare for a live broadcast
      • Enterprise Streaming Support
        • Conduct a stream test
      • Video & Audio Production
        • Book remote video production
        • Prepare for remote video recording
    • On-Site Production
    • Check-in App
  • Analytics
    • Dashboard
    • Engagement Report
      • 2024 (BETA)
    • Google Analytics
    • Cookie Management
    • Page Views
    • User Data
    • Guest Passes
  • Settings
    • Configuration
    • Fonts, Colours & Logos
    • Hub Header & Footer
    • Custom Domain
      • Update GoDaddy DNS
    • Search & Metadata
    • System Messages
    • Access Control
      • Admin Accounts
      • Progressive Profiling
    • Global Event Settings
    • Default Templates
  • Integrations
    • Marketing Automation
      • Marketo
      • Eloqua
      • Pardot
      • Mailchimp
    • Events Management
      • Cvent
      • Eventbrite
      • Eventsforce
      • Sync by Email
    • Unified Communications
      • Zoom
      • ON24
    • Video
    • Payments
    • Single Sign-On (SSO)
    • LinkedIn Sign Up Setup
    • API Keys
Powered by GitBook
On this page
  • Card Variations
  • Examples
  1. Publishing
  2. Shortcodes

Content

The [content] shortcode allows you to display content dynamically on your hub with various customizable options.

Accepted Parameters

Parameter
Description
Default Value

ids

Comma-separated list of specific content IDs to display.

None

exclude

Comma-separated list of content IDs to exclude from display.

None

title

Title displayed above the content section.

None

width

Width of the content block (e.g., 1/3rd, full).

1/3rd

no_optional_header

Hides the optional header for the content section.

FALSE

horizontal

Toggles horizontal layout.

FALSE

wall

Enables masonry-style wall layout.

None

gallery

Displays content in a gallery-style layout.

FALSE

no_link

Disables links for content items.

FALSE

link

Adds a custom link for the content section.

None

class

Adds custom CSS classes to the content block.

None

n_items

Specifies the number of items to display.

20

order_by

Field by which content is sorted (e.g., created_at, views).

created_at

order

Sorting direction: ASC (ascending) or DESC (descending).

DESC

types

Filters content by specific types.

None

taxonomies

Filters content by taxonomy IDs (comma-separated).

None

terms

Filters content by specific terms.

None

terms_to_exclude

Excludes content associated with specific terms.

None

zone

Filters content by a specific zone.

None

channel_id

Filters content by a specific channel ID.

None

date

Filters content by a specific date or date range.

None

terms_operator

Logical operator for combining term filters: OR or AND.

OR

list_unconnected

Includes content not connected to a specific taxonomy or term.

FALSE

no_row

Removes the row wrapper around the content block.

FALSE

card_variation

Defines the style of content cards (see "Card Variations" below).

default

highlight_pos

Specifies positions of highlighted content cards (comma-separated).

None

clear_fix_position

Sets the position for a clearfix div for responsive layout adjustments.

3

paginate

Enables pagination for the content display.

FALSE

randomize

Randomizes the order of the displayed content.

FALSE

page

Specifies the current page for paginated content.

1

wrapper_class

Adds custom CSS classes to the content wrapper.

None

image_pos

Specifies the position of the image in content cards: left or right.

None

agenda_open

Toggles the "open" state for agenda-related content.

FALSE

coming_soon

Filters content by availability: exclude or only upcoming content.

None


Card Variations

The card_variation parameter allows you to customize the style of the displayed content cards. Accepted values include:

Card Variation
Description
Example

default

The default card style without customization.

2022

A modern, grid-based card style.

full

Displays the entire content piece on a page

headline

A simplified style emphasizing headlines without a card container.

list-view

A compact, list-style layout.

list

Another list-style variation with subtle differences.


Examples

Basic Usage

[content 
    title="Latest Articles" 
    n_items="10" 
    width="full" 
    card_variation="headline"]
  • Displays the 10 latest articles in a full-width layout using the "headline" card style.

Filtering by Taxonomy

[content 
    taxonomies="12,15" 
    terms_operator="AND" 
    n_items="5" 
    order_by="created_at" 
    order="DESC"]
  • Displays the top 5 most-viewed items associated with taxonomy IDs 12 and 15.

Excluding Content

[content 
    exclude="45,89" 
    n_items="20"
    card_variation="list"]
  • Displays 20 content items, excluding items with IDs 45 and 89, using the "list" card style.

Randomized Content

[content 
    randomize="true" 
    n_items="8"]
  • Displays 8 randomly selected items

PreviousAccess SettingsNextContent with Search Bar

Last updated 5 months ago