This page is the working reference for BHAB shortcodes. Update the registry in the BHAB Shortcode Library snippet whenever a shortcode is added, removed, renamed, or expanded.
Event Feeds
Flexible Feed Engine
[ht_happenings][ht_weekend]Reusable event feed engine for weekend, week, and month landing pages. Supports locked city feeds and category include/exclude filters.
| Attribute | Description |
|---|---|
range | weekend, week, month, or custom |
title | Optional page heading |
heading_label | Optional eyebrow label like "This Week" |
city | Locks feed to a city slug like rapid-city |
show_city_filter | 1 or 0 |
allow_url_city_override | 1 or 0 |
include_categories | Comma-separated category slugs |
exclude_categories | Comma-separated category slugs |
days_ahead | Used for rolling week/custom behavior |
start_date | Custom range start, YYYY-MM-DD |
end_date | Custom range end, YYYY-MM-DD |
[ht_happenings range="weekend" title="What’s Happening This Weekend in the Black Hills"][ht_happenings range="week" city="rapid-city" title="What’s Happening This Week in Rapid City"][ht_happenings range="month" title="This Month in the Black Hills"][ht_happenings range="week" city="rapid-city" include_categories="livemusic" exclude_categories="comedy,karaoke,trivia,music-bingo" title="Live Music in Rapid City This Week"][ht_happenings range="week" include_categories="theater" title="Theater & Stage This Week"][ht_weekend]- Best choice for city-specific and date-range landing pages.
- Keep [ht_weekend] as a backward-compatible alias if older pages already use it.
Event Embeds
Single Event Embed
[ht_event_embed]Displays a full event card with image, schedule, venue, optional excerpt, and action buttons.
| Attribute | Description |
|---|---|
id | Required. Event ID or linked post ID. |
show_excerpt | yes or no |
excerpt_words | Number of words to show when excerpt is enabled |
series_label | Optional secondary button label like "View Series" |
series_url | Optional URL for a series or related page |
[ht_event_embed id="3427"][ht_event_embed id="3427" show_excerpt="no"][ht_event_embed id="3427" show_excerpt="yes" excerpt_words="18"][ht_event_embed id="3427" series_label="View Series" series_url="/series/lost-cabin-after-dark/"]- Best for featured article embeds or standalone event callouts.
- This is the larger visual card version.
Grouped Event Embed
[ht_event_embed_group]Displays one shared event card for multiple event IDs, useful for runs, repeat dates, or grouped showtimes.
| Attribute | Description |
|---|---|
ids | Required. Comma-separated list of event IDs or linked post IDs. |
title | Optional custom card title |
show_excerpt | yes or no |
excerpt_words | Number of words to show when excerpt is enabled |
button_label | Optional primary button text |
button_url | Optional primary button URL |
series_label | Optional secondary button label |
series_url | Optional secondary button URL |
show_calendar | yes or no. When yes, shows downloadable calendar options for each date |
[ht_event_embed_group ids="123,124,125"][ht_event_embed_group ids="123,124,125" title="Lost Cabin After Dark"][ht_event_embed_group ids="123,124,125" button_label="View Full Schedule" button_url="/series/lost-cabin-after-dark/"][ht_event_embed_group ids="123,124,125" show_calendar="yes"]- Useful when one event spans multiple dates but each date exists as its own event entry.
- Can fall back to a shared schedule button when ticket URLs are not available.
Mini Event Embed
[ht_event_embed_mini]Displays a compact event embed with a small thumbnail, title, date, time, venue, and See Event / Add to Calendar actions.
| Attribute | Description |
|---|---|
id | Required. Event ID or linked post ID. |
thumbnail_size | Optional thumbnail width in pixels. Best range is roughly 90 to 140. |
show_venue | yes or no |
[ht_event_embed_mini id="3427"][ht_event_embed_mini id="3427" thumbnail_size="110"][ht_event_embed_mini id="3427" show_venue="no"]- Built for article use where the full card feels too tall.
- On small screens the thumbnail stacks above the text instead of staying to the left.
Main Calendar
Calendar Filters
[ht_calendar_filters][ht_calendar_results][ht_calendar_filters_intro][ht_calendar_active_filters_label]Core BHAB calendar discovery engine. URL-based filters for keyword, venue, city, category, date range, and exclusions.
No attributes listed.
[ht_calendar_filters][ht_calendar_active_filters_label][ht_calendar_results]- These work together on the main calendar page.
- Do not mix their responsibilities into standalone feed pages.
Homepage / Editorial
Latest Posts
[ht_latest_posts]Outputs recent blog posts with title, date, author, and excerpt.
| Attribute | Description |
|---|---|
count | Number of posts to show |
category | Optional category slug filter |
[ht_latest_posts count="3"]On the Scene Editorial Blocks
[ht_featured][ht_radar][ht_field_notes][ht_on_the_scene]Editorial post feeds used for featured stories, radar items, field notes, and combined layouts.
No attributes listed.
[ht_featured][ht_radar][ht_field_notes][ht_on_the_scene]- These pull from WordPress post categories, not Events Manager events.
Homepage / Events
Mini Upcoming Feed
[ht_mini_upcoming]Shows upcoming events grouped by day with a compact layout.
| Attribute | Description |
|---|---|
limit | How many events to show |
[ht_mini_upcoming limit="6"]Venues
Venues Directory
[ht_venues_directory]Alphabetical venue directory with search and copy-link tools.
No attributes listed.
[ht_venues_directory]Venue Feed
[ht_venue_feed]Outputs a standalone venue page/feed layout with venue details and upcoming events.
No attributes listed.
[ht_venue_feed]- This area has known overlap/conflict in the architecture doc. Keep naming and ownership clear.
Submissions
Public Event Submission
[ht_submit_event_public]Front-end public event submission form for pending review.
No attributes listed.
[ht_submit_event_public]Venue Submission
[ht_submit_venue_request]Front-end venue submission form for new venue requests.
No attributes listed.
[ht_submit_venue_request]Editorial / Beat Drop
Shortlist
[ht_shortlist]Beat Drop editorial calendar feed built around curated shortlist events.
No attributes listed.
[ht_shortlist]- This is Beat Drop-specific. Do not use it as a generic public event feed.
Submit