In this post we are going to create a simple WordPress shortcode that displays the current price of Bitcoin in USD, GBP, EUR and JPY, through the use of the free CoinMarketCap API. After we’ve created the shortcode, we will use the WPBakery Shortcode Mapper to make this shortcode available on our Visual Page Builder.
The final code is available on GitHub.
Drawing from the examples provided by the official Codex documentation, we create a simple shortcode with just one attribute and paste the code on our child theme’s functions.php file:
Thanks for sharing this information.Have shared this link with others keep posting such information..