This plugin works great on a normal page, but fails to display files (any type) when the page is using any custom template other than the default template(index.php)
When [gview file="http://www.yoururl.com/doc.pdf"] is used on custom template then it shows this shortcode instead of showing the actual document.
I just copy pasted the entire code from default template (index.php) to my
custom template (say GoogleDoc.php) and put the shortcode in it. But its not working. Where as the same code present in "index.php" is working fine.
The only difference between these two template is the custom template name code (as given below) placed at top, which is not present in index.php.
Template Name: GoogleDoc