/Energy-Search-Wordpress

A Pokemon TCG plugin for Wordpress made with the Pokemon TCG API!

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

Energy Search

A Pokemon TCG plugin for Wordpress made with the Pokemon TCG API host on https://pokemontcg.io/

Using this plugin you can add a card database to your Wordpress website. Many more features to be added in the future!

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use Settings->Energy Search screen to configure the plugin. Make sure to set what pages to use for card and search.
  4. Add the short codes that you wish to use to your desired pages.

Demo

https://www.energysearch.gamer2020.net/

Page Shortcodes

[es_search_page] - Code for the search results page.

[es_card_page] - Code for the page for individual cards.

[es_sets_page] - Code for the page that displays all the sets.

[es_search_box] - Code for the search box.

Post Shortcodes

[es_shortcode_card_name]xy4-118[/es_shortcode_card_name] - Displays the card name with link to card. Hovering shows the card's image.

[es_shortcode_card_image]bw5-107[/es_shortcode_card_image] - Shows card image with link.

Credits

https://github.com/PokemonTCG/pokemon-tcg-sdk-php