Title: Cards in Brackets – Blocks for MTG
Author: adriaabad
Published: <strong>October 9, 2026</strong>
Last modified: October 9, 2026

---

Search plugins

![](https://ps.w.org/cards-in-brackets-blocks-mtg/assets/banner-772x250.png?rev=
3736553)

![](https://ps.w.org/cards-in-brackets-blocks-mtg/assets/icon.svg?rev=3736553)

# Cards in Brackets – Blocks for MTG

 By [adriaabad](https://profiles.wordpress.org/adriaabad/)

[Download](https://downloads.wordpress.org/plugin/cards-in-brackets-blocks-mtg.0.10.3.zip)

 * [Details](https://wordpress.org/plugins/cards-in-brackets-blocks-mtg/#description)
 * [Reviews](https://wordpress.org/plugins/cards-in-brackets-blocks-mtg/#reviews)
 *  [Installation](https://wordpress.org/plugins/cards-in-brackets-blocks-mtg/#installation)
 * [Development](https://wordpress.org/plugins/cards-in-brackets-blocks-mtg/#developers)

 [Support](https://wordpress.org/support/plugin/cards-in-brackets-blocks-mtg/)

## Description

Cards in Brackets displays individual cards and pasted deck lists. It provides three
native blocks for the WordPress block editor (Gutenberg) and two shortcodes:

 * Cards in Brackets: Card: show one or more card images.
 * Cards in Brackets: Card Details: show a card beside its Oracle text, with optional
   flavor text, card-specific rulings, printing details, and selected format legalities.
 * Cards in Brackets: Deck: paste a main deck and optional sideboard, show a compact
   list with hover previews, switch to visual card stacks, and optionally group 
   the main deck by card type.
 * [cardsinbrackets_mtg_card name=”Lightning Bolt”]: show a linked card name with
   an image preview on hover or keyboard focus.
 * [cardsinbrackets_mtg_card name=”Lightning Bolt” image=”true”]: show the card 
   image directly.

Use a set code in parentheses to select an edition, for example `Lightning Bolt (
M11)`. Cards with multiple faces can display both images. The deck and detail views
show a flip control where a second image is available.

Card data comes from the public Scryfall API. No Scryfall account or API key is 
required. Please read the Third-party service and privacy section before installing.

### Usage

Enter one card name per line in the Cards in Brackets: Card block. For a deck, paste
quantities and names under `Deck` and `Sideboard` headings:

    ```
    Deck
    4 Lightning Bolt
    4 Kessig Flamebreather
    19 Mountain

    Sideboard
    3 Smash to Smithereens
    ```

In the Cards in Brackets: Deck block, enable “Group main deck by card type” to separate
the main deck in both list and visual views. The sideboard remains one section. 
The deck can also be named. For a shortcode deck, use `[cardsinbrackets_mtg_deck
title="Mono-Red Burn" group="true"]...[/cardsinbrackets_mtg_deck]` with the list
between the tags.

Hover or focus a linked card name to preview its image. The link opens the card 
on Scryfall. Press Escape to close a keyboard preview. On touch devices, use the
link to open Scryfall.

### Third-party service and privacy

This plugin depends on Scryfall (https://scryfall.com/) to retrieve card data and
image URLs. When a card needed by a block or shortcode is absent from the WordPress
transient cache, the WordPress server sends the card name and optional set code 
to `https://api.scryfall.com/`. Multi-card grids and decks send uncached card names
and optional set codes in collection requests; quantities, deck titles, post content,
and visitor identities are not included in those API request bodies. If the Card
Details block has card-specific rulings enabled, the server also requests that card’s
rulings from `api.scryfall.com`.

Each API request includes a User-Agent identifying Cards in Brackets – Blocks for
MTG, its version, and the WordPress site URL. Successful card and ruling responses
are cached in WordPress transients for 24 hours. Missing-card and temporary error
results are cached for shorter periods. Requests made during one page render are
spaced apart; after a rate-limit response, new lookups pause briefly across the 
site. Cached cards remain available. WordPress may evict transients early.

The plugin displays image URLs supplied by Scryfall rather than bundling card art.
When an image is displayed or previewed, the visitor’s browser requests it directly
from the Scryfall image host. As with other third-party image requests, that host
receives the visitor’s IP address and normal browser request information. Clicking
a card link takes the visitor to Scryfall.

Scryfall’s API documentation: https://scryfall.com/docs/api
 Scryfall’s Terms of
Service: https://scryfall.com/docs/terms Scryfall’s Privacy and Security page: https://
scryfall.com/docs/privacy

Cards in Brackets is not produced, endorsed, or sponsored by Scryfall or Wizards
of the Coast. Magic: The Gathering card names, rules text, and images belong to 
their respective rights holders. The GPL license above applies to the plugin code;
it does not relicense card data or artwork. Site owners displaying Magic content
should follow the Wizards of the Coast Fan Content Policy: https://company.wizards.
com/en/legal/fancontentpolicy

## Screenshots

[⌊Find the three native card and deck blocks in the WordPress block inserter.⌉⌊Find
the three native card and deck blocks in the WordPress block inserter.⌉[

Find the three native card and deck blocks in the WordPress block inserter.

[⌊Enter one or more card names to display a responsive image grid.⌉⌊Enter one or
more card names to display a responsive image grid.⌉[

Enter one or more card names to display a responsive image grid.

[⌊Show card details, rulings, printing information, and selected format legalities.⌉⌊
Show card details, rulings, printing information, and selected format legalities
.⌉[

Show card details, rulings, printing information, and selected format legalities.

[⌊Present imported deck lists with a sideboard and optional visual card stacks.⌉⌊
Present imported deck lists with a sideboard and optional visual card stacks.⌉[

Present imported deck lists with a sideboard and optional visual card stacks.

[⌊Preview card images from linked names within article text.⌉⌊Preview card images
from linked names within article text.⌉[

Preview card images from linked names within article text.

## Blocks

This plugin provides 3 blocks.

 *   Cards in Brackets: Deck Paste a deck list with a sideboard and show it as a
   list or visual card stacks.
 *   Cards in Brackets: Card Show one or more Magic card images in a responsive 
   row.
 *   Cards in Brackets: Card Details Show a card image and choose which details 
   to include.

## Installation

 1. Upload the `cards-in-brackets-blocks-mtg` folder to `/wp-content/plugins/`, or 
    install the plugin ZIP through the WordPress Plugins screen.
 2. Activate Cards in Brackets.
 3. Add a Cards in Brackets: Card, Cards in Brackets: Card Details, or Cards in Brackets:
    Deck block to a post or page. Shortcodes also work in Shortcode blocks and other
    shortcode-enabled content.
 4. Ensure that your WordPress server can make HTTPS requests to `api.scryfall.com`
    and visitors can load the image URLs returned by Scryfall.

## FAQ

### Does the plugin need an API key?

No. It uses Scryfall’s public API and WordPress transients to reduce repeat requests.

### Can I choose a specific printing?

Add a set code after the card name, such as `Lightning Bolt (M11)`. Different editions
have separate cache entries.

### Does format legality apply to an entire deck?

No. The Card Details block shows the selected card’s format statuses returned by
Scryfall. It does not validate deck construction.

### What happens if Scryfall is unavailable?

Cached cards remain available while their transients exist. New lookups display 
an error or missing-card label without interrupting the rest of a deck.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Cards in Brackets – Blocks for MTG” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ adriaabad ](https://profiles.wordpress.org/adriaabad/)

[Translate “Cards in Brackets – Blocks for MTG” into your language.](https://translate.wordpress.org/projects/wp-plugins/cards-in-brackets-blocks-mtg)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cards-in-brackets-blocks-mtg/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cards-in-brackets-blocks-mtg/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cards-in-brackets-blocks-mtg/)
by [RSS](https://plugins.trac.wordpress.org/log/cards-in-brackets-blocks-mtg/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.10.3

 * Renamed the plugin and its public identifiers to Cards in Brackets – Blocks for
   MTG.
 * Replaced the generic shortcodes with uniquely prefixed `[cardsinbrackets_mtg_card]`
   and `[cardsinbrackets_mtg_deck]` shortcodes.

#### 0.10.2

 * Batched uncached multi-card grid lookups and reused per-card results across blocks,
   shortcodes, and decks.
 * Reduced repeated transient reads during a page render and paused new requests
   after Scryfall rate limits.

#### 0.10.1

 * Added WordPress.org readme and third-party service disclosure.
 * Moved the double-face flip control to the upper-right area of card artwork.

#### 0.10.0

 * Added optional main-deck grouping by card type in list and visual views.

## Meta

 *  Version **0.10.3**
 *  Last updated **19 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.3 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [blocks](https://wordpress.org/plugins/tags/blocks/)[cards](https://wordpress.org/plugins/tags/cards/)
   [magic](https://wordpress.org/plugins/tags/magic/)[scryfall](https://wordpress.org/plugins/tags/scryfall/)
 *  [Advanced View](https://wordpress.org/plugins/cards-in-brackets-blocks-mtg/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cards-in-brackets-blocks-mtg/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cards-in-brackets-blocks-mtg/reviews/)

## Contributors

 *   [ adriaabad ](https://profiles.wordpress.org/adriaabad/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cards-in-brackets-blocks-mtg/)