Plugin Directory

Changeset 455669


Ignore:
Timestamp:
10/25/2011 08:49:30 PM (14 years ago)
Author:
OverlappingElvis
Message:

Bug fix: couldn't use first image if no post thumbnail support in theme

Location:
custom-image-src/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • custom-image-src/trunk/custom-image-src.php

    r447661 r455669  
    33Plugin Name: Custom Image_Src
    44Description: Allows the upload of a custom sharing image per post
    5 Version: 0.3
     5Version: 0.31
    66Author: Jeremy Sher
    77Author URI: http://twitter.com/Overlapping
  • custom-image-src/trunk/includes/template.php

    r447661 r455669  
    1111    <input type="checkbox" id="post_thumbnail" name="<?php $mb->the_name(); ?>" value="post_thumbnail"<?php echo $mb->is_value('post_thumbnail')?' checked="checked"':''; ?> /> Use Post Thumbnail
    1212</p>
     13<?php endif; ?>
    1314<p>
    1415    <?php $mb->the_field('image_from_post'); ?>
    1516    <input type="checkbox" id="image_from_post" name="<?php $mb->the_name(); ?>" value="image_from_post"<?php echo $mb->is_value('image_from_post')?' checked="checked"':''; ?> /> Use First Image In Post
    1617</p>
    17 <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.