This will render your site’s URL with the affiliate’s ID appended. An affiliate uses this URL to direct customers to your site and get credited for sales and other referrals.
If you want to show how a link would look like, you can use the shortcode within HTML as well, for example:
Remember to use HTML character entities when editing in Text mode, like
> in order to show the actual code that an affiliate has to embed to render the link. You might also want to surround this with
<pre> tags on your page, to make it clear that this is HTML code that has to be used.
url– possible values are
permalink– this will result in the affiliate URL being rendered for the current URL or based on the permalink of the current post. If
permalinkis used within a post on an archive page such as a category, then it will result in the URL for that post to be used instead of the URL of the category.
currentwill result in the URL of the archive page, e.g. the category page’s URL to be rendered.