How to use the [cryptowp] shortcode

Table of Contents
  1. Plain Text
  2. Grid
  3. List

With the [cryptowp] shortcode you can easily show coin data from any imported coin in plain text, list, or a grid layout.

The [cryptowp] shortcode is especially useful for blending realtime data in articles, or even in sidebar widgets. This guide will show you all of the different variations you can use the shortcode to display coin data.

1. Plain Text

The best part about this shortcode is you can display unstyled text of just about any piece of data about your coin to blend it seamlessly into surrounding text.

Here’s a basic example that shows the current price of Bitcoin:

[crypto coins="BTC" type="text" show="price"]

The price of Bitcoin is: $10,335.51

You can only show data about 1 coin per shortcode, so add multiple instances of this shortcode to display multiple coins.

As of version 1.2.2 you can now calculate how much crypto any dollar amount is worth with the new calc attribute. Example below:

[crypto coins="BTC" type="text" show="price" calc="200"]

Preview: $200 worth of Bitcoin is currently worth 0.0194 BTC.

TIP: By default the text shortcode shows price, so to save some typing, you can omit the “show” attribute.

Show Attributes

Apart from price, you can show other data about coins by plugging one of the following values into the show attribute:

  • percent (24h percent change)
  • supply (Available coin supply)
  • market_cap (Market Cap)
  • price_btc (Price in Bitcoin)
  • calc (Calculate dollar amount into crypto)

Example:

[crypto coins="ETH" type="text" show="market_cap"]

The current market cap of Ethereum is $23,265,116,582.39.

2. Grid Layout

By simply pasting the [crypto] shortcode with no attributes, a grid that lists all of your coins will appear. To only show specified coins, in however many columns you choose, enter their IDs separated by commas into the coins attribute like so:

[crypto coins="BTC,LTC" columns="2"]
Bitcoin

Bitcoin

$10,335.51

BTC 4.97%

Litecoin

Litecoin

$97.88

LTC 5.25%

All Attributes

You may customize the Grid layout further by adding the following attributes:

  • coins="BTC,LTC,etc" (which coins to show in Grid)
  • type="grid" (default, load Grid layout)
  • columns="2" (enter how many columns to show coins in)
  • hide_icon="true" (hides all coin icon images)
  • hide_percent="true" (hides 24h percentage change)
  • classes="my-class-name" (add custom CSS to Grid)

3. List Layout

The List layout works very similar to the Grid, though the layout is totally different. You can create a List layout like so:

[crypto type="list" coins="ETH,DASH,NEO,ARK"]
Ethereum

Ethereum

$217.51

ETH 0.38%

Dash

Dash

$107.87

DASH 4.32%

NEO

NEO

$12.36

NEO 4.57%

Ark

Ark

$0.30

ARK -4.95%

Leave the coins attribute blank to display all imported coins.

All Attributes

  • coins="BTC,ETH,etc" (which coins to show in List)
  • type="list" (default, load Grid layout)
  • columns="2" (enter how many columns to show coins in)
  • hide_icon="true" (hides all coin icon images)
  • hide_percent="true" (hides 24h percentage change)
  • classes="my-class-name" (add custom CSS to Grid)