WordPress.org

Ready to get started?Download WordPress

Forums

Tumblrize
Photo + Excerpt? (7 posts)

  1. SheerHeartAttack
    Member
    Posted 1 year ago #

    What I want is to automatically make a Tumblr photo post with a featured image and excerpt from the WordPress post. We actually have a custom field for our featured image (used for a rotator on our main page) so is there some way to call that custom field as the image to be posted to Tumblr?

    Thanks!

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

  2. petenawara
    Member
    Posted 1 year ago #

    Yeah, auto setting the post type to photo would be awesome!

    (not sure if that's the solution to the above issue, but it's what I'm hoping for.)

    I have a photo blog, so every time I post, it will be a photo.

  3. SheerHeartAttack
    Member
    Posted 1 year ago #

    Yeah, that would be really good! I don't want to have to do it manually every time — I might as well just post manually to Tumblr if I'm going to have to do that. And actually, I can't even get it to create a photo post at all if I only have it posting an excerpt — I guess it's searching within only the excerpt for relevant images. But if I can get it to call directly to the featured image instead of trying to search for images that would fix that problem, I think.

  4. dionte247
    Member
    Posted 1 year ago #

    just edit the plugin so that the photo dropdown is selected first by default

  5. dionte247
    Member
    Posted 1 year ago #

    around line 547 in tumblrize.php change

    <optgroup label="Select">
                <option value="regular"<?php if ('regular' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Text</option>
                <option value="photo"<?php if ('photo' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Photo</option>
                <option value="link"<?php if ('link' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Link</option>
                <option value="quote"<?php if ('quote' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Quote</option>
                <option value="audio"<?php if ('audio' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Audio</option>
                <option value="video"<?php if ('video' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Video (YouTube)</option>
            </optgroup>

    to:

    <optgroup label="Select">
                <option value="photo"<?php if ('photo' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Photo</option>
                <option value="regular"<?php if ('regular' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Text</option>
                <option value="link"<?php if ('link' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Link</option>
                <option value="quote"<?php if ('quote' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Quote</option>
                <option value="audio"<?php if ('audio' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Audio</option>
                <option value="video"<?php if ('video' === $tumblr_post_type) : print ' selected="selected"';endif;?>>Video (YouTube)</option>
            </optgroup>

    and photo should be selected automatically now

  6. petenawara
    Member
    Posted 1 year ago #

    Great! Thanks

  7. SheerHeartAttack
    Member
    Posted 1 year ago #

    Unfortunately that still doesn't solve my problem. As I said, selecting the photo post option doesn't work if you're posting an excerpt as opposed to the whole post. And I also would like to be able to specify that it use a particular photo rather than it just choosing one.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags