WordPress.org

Ready to get started?Download WordPress

Forums

Tumblrize
Allow posting of Excerpt (1 post)

  1. I don't want to duplicate everything on my blog to Tumblr, but a link back would be nice. I make use of custom excerpts, so why not an option to pull those?

    I believe all you need to change would be like 123 of tumblerize.php

    $post_body = wpautop(str_replace('\"', "", html_entity_decode($post->post_excerpt)));

    Obviously you'd want a check box so maybe add in tumblrize_use_excerpt to 'Use excerpt instead of full content when posting' and then it'd be:

    if ( get_option('tumblrize_use_excerpt') ) {
                $post_body  = wpautop(str_replace('\"', "", html_entity_decode($post->post_excerpt)));
            }
    else {
                $post_body  = wpautop(str_replace('\"', "", html_entity_decode($post->post_content)));
            }

    http://wordpress.org/extend/plugins/tumblrize/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Ipstenu (Mika Epstein)
  • This topic is not resolved
  • WordPress version: 3.0.4

Tags