PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | templates/single-give-form/featured-image.php +5 -3 2.3.2 → 4.17.0 View file →
@@ -26,9 +26,10 @@
26 26 do_action( 'give_pre_featured_thumbnail' );
27 27 ?>
28 28
29 29 <div class="images">
30 - <?php //Featured Thumbnail
30 + <?php
31 + // Featured Thumbnail
31 32 if ( has_post_thumbnail() ) {
32 33
33 34 $image_size = give_get_option( 'featured_image_size' );
34 35 $image = get_the_post_thumbnail( $post->ID, apply_filters( 'single_give_form_large_thumbnail_size', ( ! empty( $image_size ) ? $image_size : 'large' ) ) );
@@ -36,12 +37,13 @@
36 37 echo apply_filters( 'single_give_form_image_html', $image );
37 38
38 39 } else {
39 40
40 - //Placeholder Image
41 + // Placeholder Image
41 42 echo apply_filters( 'single_give_form_image_html', sprintf( '<img src="%s" alt="%s" />', give_get_placeholder_img_src(), esc_attr__( 'Placeholder', 'give' ) ), $post->ID );
42 43
43 - } ?>
44 + }
45 + ?>
44 46 </div>
45 47
46 48 <?php
47 49 /**