So ...

Let's say that you want to embed an Excel file ... Obviously, before anything else, you'll have to use the media uploader to aupload it to your site ...

Next, click the "Edit" link ...


... and copy the media file URL:


Now open your post/page editor, place your cursor in the exact place where you want to embed the Excel file and insert the following shortcode:

[gview file="mediafileurl"]

Obviously, the "mediafileurl" parameter will be the exact file URL copied earlier ...

This is my shortcode added to my post content ...


... and this is the live result:


Simple and efficient, isn't it?

And that's it my friends!

If you have any comments, further questions or update requests please don't hesitate to react! Like, comment and share!

And don't forget, you can easily come back to this tutorial whenever you want.

All you need to do is to bookmark the categorized, daily updated register of my blogs and training materials. Here it is:

Posts and training by smartketeer

Thanks for your time!



Join the Discussion
Write something…
Recent messages
dowj01 Premium
Really useful, this will be very handy. Thanks for sharing.
Justin
Reply
smartketeer Premium
Thank YOU!
Reply
cris1018 Premium
This is awesome timing. I was thinking about this the last couple weeks. Hadn't gotten around to actually researching it yet myself.

One thing caught my eye...

On your Lesson 3 page, at the top it says "This plugin is due to be retired." I'm on mobile at the moment, so not the best screen to be digging into further info. Do you know if this is going to continue to be supported, or is changing, upgrading, etc. I would love to use a plugin like this.

Thanks, Zed.

Cris
Reply
smartketeer Premium
There is no available info on that Cris ... I guess we'll use it till is available and after that we'll find something else :)
Reply
cris1018 Premium
Sounds good. Thanks so much for the reply while I'm not in front of my PC. :-)
Reply
griego62 Premium
Thanks Zed! So the document is actually loaded when the user clicks on the shortcode thus not affecting page load time. Am I correct?
Reply
smartketeer Premium
No. A shortcode is not clickable ... A shortcode will execute a "command" when the page is loaded. In this case will embed a document which will appear as part of your post/page. Literally speaking the loading time can be affected but you'need really big files for that.
Reply
CandP Premium
Thanks, Zed, that does indeed sound cool. We will take a closer look over the weekend (which we are sure you will be taking off!!!)
Colette and Philip
Reply
smartketeer Premium
Thank you my friends!
Reply
Eliz65 Premium
Thank you, thank you , thank you...
You just saved me hours of “googling”. I just published an article and tried to include a table. Needless to say it did not look pretty.
Will be putting this plugin to work today!
Reply
smartketeer Premium
HAppy to help :)
Reply
Top