Skip to Content
✨ v1.13.0 Released - See the release notes
DocumentationCreate Campaigns

Campaigns

Campaigns are how you organize banners into logical groups. Under the hood, a campaign is a WordPress custom taxonomy (wp_bannerize_tax) attached to the banner custom post type. This gives you a familiar, WordPress-native way to categorize and filter your banners.

Creating a Campaign

There are two ways to create campaigns:

From the Campaigns Page

  1. Navigate to Bannerize > Campaigns in your WordPress admin
  2. Enter a Name for the campaign (e.g., “Holiday Promotions 2026”)
  3. Optionally enter a Slug (auto-generated from the name if left empty)
  4. Optionally enter a Description for internal reference
  5. Click Add New Campaign

From the Banner Editor

When editing or creating a banner, use the Campaigns meta box on the right side of the editor:

  • Check one or more existing campaigns to assign the banner
  • Click Add New Campaign to create a new campaign inline

Organizing Banners

Campaigns let you group banners by theme, client, time period, or any other criteria that makes sense for your workflow. Common examples:

CampaignPurpose
Header AdsBanners displayed in the site header
Sidebar PromosPromotional banners for sidebar widgets
Holiday Sale 2026Time-limited seasonal promotions
Client: Acme CorpAll banners for a specific advertiser
Mobile OnlyBanners targeting mobile devices

A banner can belong to multiple campaigns. For example, a banner could be in both “Header Ads” and “Holiday Sale 2026” at the same time.

Displaying Banners by Campaign

When displaying banners on your site, you can filter by campaign using the campaign slug. This works across all display methods:

Gutenberg Block

Select one or more campaigns from the block’s sidebar settings.

Shortcode

[wp_bannerize_pro campaigns="holiday-sale-2026"]

Display banners from multiple campaigns by separating slugs with commas:

[wp_bannerize_pro campaigns="header-ads,holiday-sale-2026"]

PHP Function

wp_bannerize_pro([ 'campaigns' => 'holiday-sale-2026', ]);

Widget

In the widget settings, select the campaigns you want to display from the dropdown.

Managing Campaigns

Editing a Campaign

Navigate to Bannerize > Campaigns, hover over a campaign name, and click Edit. You can change the name, slug, and description.

Deleting a Campaign

Hover over a campaign and click Delete. This removes the campaign taxonomy term but does not delete the banners assigned to it. The banners will simply become unassigned.

If you have shortcodes, widgets, or PHP functions that reference a campaign by slug, deleting or renaming that campaign will cause those display methods to return no banners. Update your references after renaming or deleting campaigns.

Viewing Campaign Banners

Click on a campaign name to see all banners assigned to that campaign. You can also use the campaign filter dropdown on the Bannerize > All Banners list page.

Campaign Archive Pages

WordPress automatically generates archive pages for taxonomy terms. By default, Bannerize campaign archives are accessible at:

https://yoursite.com/wp_bannerize_tax/campaign-slug/

You can customize the appearance of campaign archive pages using the custom templates feature in Bannerize settings.

Campaigns and Analytics

Analytics data can be viewed per campaign. In the Bannerize > Analytics section, you can filter impressions, clicks, and CTR by campaign to measure overall campaign performance. The Top 5 Performers dashboard also ranks campaigns alongside individual banners.

Last updated on