Wednesday, May 9, 2018

Json Content Importer Short Code for Vcommission

If you are building your coupon website using wordpress, and want to automatically display the coupons list from website vcomission, then you can use jsoncontentimporter plugin.
First download and install jsoncontentimporter plugin and install and activate it.
Then use following short code in the page - post where you want to display vcommission coupons list:
[jsoncontentimporter url=https://tools.vcommission.com/api/coupons.php?apikey=xyz]
<img src = "{store_image}">
<a href="{link}" target="_blank" rel="noopener">{coupon_title}</a>
{coupon_code}
[/jsoncontentimporter]


This is the simple example, you can show more fields using {field name}

No comments:

Post a Comment