Basker Docs

Site-wide announcements

Show a banner or notice across your site, scoped to where you need it

An announcement is a banner or notice that your theme renders across the site — typically at the top of every page, though the exact placement and styling come from the theme. Use announcements for temporary, time-sensitive, or contextual information your visitors need to see.

Open Announcements under Website in Basker. The screen is subtitled Display targeted announcements and notifications on your website pages. Control where announcements appear using targeting options: all pages, specific collections (Pages, Events, Posts, etc.), exact URLs, or flexible URL patterns with 'starts with' and 'contains' matching.

Common uses

  • A holiday or maintenance notice at the top of every page.
  • A "tickets on sale now" banner shown only on event pages.
  • A redirect or apology notice on a specific page that's been moved or merged.
  • An informational note across all blog posts during a campaign.

What an announcement contains

Each announcement has:

  • A Header (required) — the headline of the announcement.
  • A Message — the supporting rich-text content.
  • An Announcement Type (required) — Info (default), Warning, Critical, or Success. Determines the visual style and importance of the announcement; the theme decides exactly how each type renders.
  • An Allow users to dismiss option (on by default) — when on, visitors can close the announcement and Basker remembers not to show it to them again.
  • A Show on targeting mode — controls where the announcement appears (see below).

Targeting where the announcement shows

Announcements support four targeting modes:

  • All Pages — the announcement appears across the entire site.
  • All pages in a Collection — the announcement appears on every record of a chosen content type, such as every event or every post.
  • Specific Pages — the announcement appears only on pages, events, posts, or other records you pick by name.
  • URL Pattern — the announcement appears on URLs that start with or contain a string you supply, useful for grouping pages without listing them individually.

Choose the smallest accurate scope. A site-wide banner uses All Pages; a "tickets on sale" banner targeting upcoming productions uses All pages in a Collection with Events selected.

Drafts and scheduling

Announcements support drafts and scheduled publishing the same way other content types do. Set one up in advance, save it as a draft, and publish or schedule it when the moment arrives. See Drafts, preview, and publishing.

Where to go next

On this page