Actions

Tumblr shortcode

From Unusual Light Wiki

Revision as of 14:26, 27 September 2012 by Jamesdodd (Talk | contribs)

[tumblr_embed url=http://yourtumblraccount.tumblr.com]

This is a vert simple little shortcode. It’s used to embed your tumblr account into a page on your site. And whilst it’s designed for tumblr it can also be used for other sites too as long as they support being embedded (if you’re not sure if they do, just try it and see what happens).

To get the most out of it, I suggest you add this custom theme to your tumblr:

http://foliosites.co.uk/wp-content/tumblr_theme.txt

and on line 94 change http://jamesdodd.net/scrapbook/ to your folio page name and http://jamesdodd.tumblr.com/ with the url of your tumblr.

Ensure infinite scroll is on too, for all that fancyness.

If you’re comfortable with javascript and CSS, feel free to take my code and apply it to other themes too, as I know not everyone will want to use this one!