Publitio WordPress plugin provides and works with short codes in form of [publitio]...[/publitio]. During rendering of a post/page plugin will look for any [publitio]...[/publitio] short code and will try to parse them into link, download URL, source html or iframe embed html depending how short code is formatted.
Shortcodes are inserted in post automatically for private files and specific options (like download url which requires fresh access token for each visitor) through Publitio Media Library browse and can be found under the "..." more options menu, but you can form them and copy & paste them to post manually.
Here is a list of all available options for [publitio]...[/publitio] short code :
- [publitio]link|fileID[/publitio]
- [publitio]download|fileID[/publitio]
- [publitio]source|fileID[/publitio]
- [publitio]iframe|fileID[/publitio]
- [publitio]player|fileID[/publitio]
where fileID is ID found on File View page.
For example to format link with download URL (that has always fresh access token) of original file you can use something like this :
<a href="[publitio]download|fileID[/publitio]">download file</a>
Comments
0 comments
Please sign in to leave a comment.