[Plugin: Tumblrize] Allow posting of Excerpt
-
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))); }
- The topic ‘[Plugin: Tumblrize] Allow posting of Excerpt’ is closed to new replies.