Shortcodes in Premia

When you link a Github repository to a page or post and disable licensing you can use the following shortcodes to generate download buttons and download links.

Using a download button or link on the page that you’ve configured Premia

[premia_download_button]

[premia_download_link]

Using a download button or link on other pages

Both of these can also be used with a post id:

[premia_download_button id=*]

[premia_download_link id=*]

Below you’ll find a examples for the demo plugin:

[premia_download_link id=192]

https://getpremia.com/wp-json/premia/v1/download_update?site_url&plugin=premia-demo&_wpnonce=6ef915cb57&post_id=192

[premia_download_button id=192]

Download Download the Premia Demo plugin

Shopping Cart