Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="input-group">
- <label for="offer_featured_image"><?php esc_html_e( 'Deal Featured Image', 'couponxxl' ); ?> <span class="required">*</span></label>
- <input type="hidden" name="offer_featured_image" id="offer_featured_image" value="<?php echo esc_attr( $offer_featured_image ) ?>" data-validation="required" data-error="<?php _e( 'Please input offer presentation image', 'couponxxl' ); ?>">
- <div class="upload-image-wrap featured-image-wrap">
- <?php
- if( !empty( $offer_featured_image ) ){
- echo wp_get_attachment_image( $offer_featured_image, 'thumbnail' );
- }
- ?>
- </div>
- <a href="javascript:;" class="image-upload featured-image"><?php esc_html_e( 'Select Featured Image', 'couponxxl' ) ?></a>
- <p class="description"><?php esc_html_e( 'A featured image will act as a front cover for your deal. Use an image of 16:9 ratio for best results.', 'couponxxl' ); ?></p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement