Shortcode & Attributes
Last updated
Last updated
Example of a shortcode supported by Embed Any Document plugin is below
Attributes are explained below
url
File URL Accepted Arguments: valid file URL
width
Width of document either in px or in %. Accepted Argument Examples: 90% , 590px etc.
height
Height of document in px. Accepted Argument Example: 500px.
download
Show or hide download link.
Accepted Arguments:
all
– For all user
logged
– For logged user
none
– no download
viewer
Service provider
Accepted Arguments: google, drive, box, microsoft
cache
Disables cache for documents embedded using Google Docs Viewer
Accepted Argument: off
text
Changes default download button text Accepted Argument: Text input
boxtheme
To choose embed theme for Box.com embeds
Accepted Arguments: dark,light