2. Activate the plugin through the 'Plugins' screen in WordPress
## Frequently Asked Questions
**How do I add a deck?**
Open a new page or post. Choose a new block from the editor. Then finally, search for "Deck" and add it to your post.
**What are the required block inputs?**
A permutation of set code, collector number, and card name must be added to display a card.
1. If you only input card name it will display the most recent printing of the specified card. Note that the name doesn't have to be exact, but will display the exact name.
2. If you put in card name and set code it will display the printing with the lowest collector number from your desired set.
3. If you put in set code and collector number it will display the exact printing. With both set code and collector number card name is effectively optional.
Selecting "Foil" will add a slight foil-like animation to the card image and is optional.
Quantity defaults to one and is required.
Selecting "Commander" will designate selected card(s) as your deck's commander and is Optional.
**How do I use the Shortcode?**
The shortcode is called mtg_name and has three inputs: name, set, and number. Below are examples of how to use the shortcode and both examples will return the same card:
```
[mtg_card name="Adeline, Resplendent Cathar"]
[mtg_card set="mid" number="1"]
```
It follows the same logic as the deck so you either need name, name and set, or set and number.
**How can I find collector number and set code?**.
The set code and the collector numbers are found in the bottom left corner of modern Magic cards. Alternatively, you can look them up using a tool like [Scryfall](https://scryfall.com).
**What formats can this plugin display?**
I believe all of them.
## Screenshots
![Alt](assets/screenshot-1.png "Example commander deck on desktop")