Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    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.

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

    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

    Great! Thanks

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Tumblrize] Photo Excerpt?’ is closed to new replies.