Card Battle Arena
Documentation
Card Battle Arena Docs

Short Codes

This page explains how to place the arena, card grids, single cards, and Story Mode embeds inside WordPress.

Main shortcodes

ShortcodeUseNotes
[card_battle_arena]Main battle screenRenders the full arena interface with the active battle flow.
[anime_card_battle]Compatibility aliasLegacy alias kept for older pages and templates.
[card_battle_cards]Card library gridDisplays the responsive public card gallery.
[card_battle_cards columns="3" limit="12" series="anime"]Filtered gridControls columns, result count, and series filtering.
[card_battle_card id="123"]Single card embedShows one exact card using the database card ID.
[acb_card_pages]Card pages archiveOpens the card page archive when card pages are enabled.
[acb_cards_grid]Grid aliasAlternate shortcode supported for older layouts.

Story Mode shortcodes

When Story Mode is enabled in your build, publish it with the module’s main shortcode on a page dedicated to chapters, dialogue scenes, and cutscenes.

TagPurpose
[story_mode]Primary Story Mode tag for published pages.
[acb_story_mode]Compatibility alias used by some builds.
[card_battle_story_mode]Additional alias used in some package variants.
Keep the exact shortcode tag list in your admin notes if your release exposes a different Story Mode alias set.

How to use them

  • Paste the shortcode into a WordPress page, post, or builder.
  • Use the arena shortcode for the full battle screen.
  • Use the card grid shortcode for browsing and discovery.
  • Use the single-card shortcode when you need one hero card inside a landing page.
  • Use the Story Mode shortcode on a separate narrative page.

Implementation tips

  • Use the arena on a dedicated page with a strong hero image or custom background.
  • Use the card grid for public browsing pages and collections.
  • Keep Story Mode pages separate from the battle screen so the narrative remains easy to follow.
  • Test all embeds on mobile, because cards and tables can wrap differently on small screens.

Copy-ready snippets

[card_battle_arena]
[card_battle_cards]
[card_battle_card id="123"]
[story_mode]
The alias [anime_card_battle] remains available for older pages.