Shortcode that embeds a link to UnityAssetStore on Wordpress
- Place
uas-linker
in[wordpress installation directory]/wp-content/plugins
- Log in to Wordpress admin page.
- Open the Plugins page.
- Enable "Unity Asset Store Linker".
- Log in to Wordpress admin page.
- Open "Plugins/Unity Asset Store Linker" page.
- Set Affiliate ID (aid).
- Save.
Embed links to assets
[uas id="Asset ID" type="link" class="custom_class" pubref="pubref"]TEXT[/uas]
[uas id="Asset ID" type="widget" class="custom_class" pubref="pubref" /]
- id(require) : Asset ID.
- type(optional) : link type. default widget.
- link : anchor link. TEXT require.
- icon : icon link.
- banner : banner link.
- banner-light : light theme banner link.
- widget : widget link.
- widget-light : light theme widget link.
- class(optional) : custom class
- pubref(optional) : pubref
Embed links to lists
[uas_list id="List ID" type="link" class="custom_class" pubref="pubref"]TEXT[/uas]
[uas_list id="List ID" type="widget" class="custom_class" pubref="pubref" /]
- id(require) : Asset ID.
- type(optional) : link type. default widget.
- link : anchor link. TEXT require.
- banner : banner link.
- banner-light : light theme banner link.
- widget : widget link.
- widget-light : light theme widget link.
- class(optional) : custom class
- pubref(optional) : pubref