mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 18:05:45 +03:00
Load image into media library, attach to the submitted pledge as a featured image.
This commit is contained in:
parent
b3ea42b84d
commit
1094dc3e89
2 changed files with 26 additions and 1 deletions
|
@ -24,7 +24,11 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
|
|||
<?php esc_html_e( 'Logo', 'wordpressorg' ); ?>
|
||||
</label>
|
||||
<br />
|
||||
<?php /* @todo Display existing logo here */ ?>
|
||||
<?php if ( is_admin() && has_post_thumbnail() ) : ?>
|
||||
<div class="form-field__logo-display">
|
||||
<?php the_post_thumbnail(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<input
|
||||
type="file"
|
||||
id="5ftf-org-logo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue