Installing a TumbleLog Template for WordPress

Put the tumble log template hereThis template is “a tumblr theme for WordPress”, which may be more the tumble log WordPress plugin you want than if it were an actual plugin.

It is for people who want to display their tumble log RSS feed as a static page on their WordPress blog, using their current WordPress theme.

It works with any RSS feed you want to add as a Page to your WordPress blog, including your StumbleUpon ‘MyBlog’ page, FeedBurner Tumblr feeds, and so on.

  1. Download the TumbleLog Template for WordPress.
  2. Unzip into your current theme’s folder (’cause it’s a template, not a plugin!).
  3. Create a new PAGE and set the Page Template to ‘TumbleBlog’.
  4. Edit tumble-template.php to configure and customize.

template selectMine looks like my index page, but since every WordPress theme has its own classes (or id’s) for every freaking thing, you’ll probably need to look at what your theme’s index.php is doing and replicate that.


If the above is not what you want:

  • QuickPost is a great plugin for people who want to tumble on their WordPress blog, whether you want your tumbles to be your blog or a have them on a category page of their own. I highly recommend it.

Also, here is a list of other tumble blog plugins (et cetera):

Most of these seem more for using WordPress as a tumble blog style blog. I haven’t used any of them apart from QuickPost, but they all look pretty swank.

2 Comments

  1. Posted December 26, 2007 at 7:36 pm | Permalink

    So far, I’m integrating your code into my WP blog, and it’s looking good. Thanks for publishing this! One problem I’m having is the posting date… it seems to default to Jan 31st, and I can’t quite figure out how to change it! I’m hoping you may have an idea on what I might need to do. The address for my tumblr is http://chrisw357.tumblr.com/ and the WP page in question is http://esoterik72.net/esoblog/tumblelog/.

    Thanks much!

  2. Posted December 26, 2007 at 11:12 pm | Permalink

    ChrisW - apparently that’s been a bug in there forever and I just never noticed that the dates stamped to my own tumbles weren’t the right dates.

    I’ve updated the .zip if you want to download it again.

    Otherwise, the change to make is on the $pubDate lines (lines 49 and 50, I think). Just paste this over that:

    $pubDate = $item['pubdate'];
    $timestamp = strtotime( $pubDate );
    $pubDate = date( ‘M d’, $timestamp);
    echo ‘<div class=\’date\’>’ . $pubDate . ‘</div>’;//change to the class you use - postmeta?

    What it’s doing now is converting the date string to a timestamp, which is what the date formatting functions want. Apparently the date string in my atom feed was close enough for it to return a date (just not the right one), but the rss2 feed date string is a little different, and I guess the timestamp of its error-code is Jan 31st.

    You can change that ‘M d’ parameter passed to the date() function to whatever you like, too. Here’s the key for that.

Leave a comment expressing your frustration with how much of your time that post just wasted:

Your email is never published nor shared. Required fields are marked *

*
*