Adds the VHX Purchase Widget to your site and automatically powers links to activate purchasing on VHX.
Integrates the VHX Purchase Widget on any WordPress installation.
Any link on any page pointing to http://mysite.vhx.tv/buy or http://mysite.com/buy will be picked up by the widget. Clicks on those links will automatically call the sliding action to purchase on your site.
If you have multiple linked sites on your page (mysite.vhx.tv and myfriend.vhx.tv), you can additionally set specific data-vhx-site attributes on individual links to override your primary one set on the script tag. It looks like this: