creative commons licensed ( BY ) flickr photo shared by Steve Snodgrass In December I wrote a tiny shortcode plugin that would let you embed Google Folders in WordPress. It was mainly to get around the iframe embed issues in WordPress Multisite. This interaction seems to make a number of faculty members pretty happy. So tonight when I got a comment asking how you’d get the plugin to display a grid view instead of the list view I decided to take another look at things. The short answer is that you could not do that with the old plugin. Now that I’m pretending to write code and stuff I thought I might be able to fix that and it turned out to be fairly simple. While I was in there I also added the ability to manually set height and width parameters. The new plugin is here. It doesn’t like it when I run both on the same blog (I assume because of the shared shortcode name) so this demo required that I turn off the older plugin. To make the changes I followed the Codex advice on handling attributes. This stuff still feels like magic to me. I realize how little actual skill and knowledge I posses in the scheme of things but it is amazing fun to be […]
>>>>>You can find an updated version here. As WordPress and Google Drive continue to blend in a variety of ways the desire to embed the contents of Google Drive folders has come up a few times. I found this Stack Overflow post a while back and had been using it myself. But in an attempt to get around iframe issues and make it a little friendlier I wrote a quick and dead simple plugin today. It seems to do the trick . . . Directions Assuming the plugin is installed and activated . . . Go to Google Docs. Get the unique ID for the folder you want to embed- seen in the highlighted portion of the URL in the image below. Then paste it between the shortcodes like so . . . and you get a nice little window that acts as a live interactive portal to the folder.