mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-03 01:31:17 +03:00
rename view, correct logo size
This commit is contained in:
parent
2402e543ac
commit
f4af07356a
|
@ -230,7 +230,7 @@ function render_my_pledges() {
|
||||||
) );
|
) );
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
require FiveForTheFuture\get_views_path() . 'form-my-pledges.php';
|
require FiveForTheFuture\get_views_path() . 'list-my-pledges.php';
|
||||||
return ob_get_clean();
|
return ob_get_clean();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ use WP_User, WP_Post;
|
||||||
<?php foreach ( $contributor_posts as $contributor_post ) : ?>
|
<?php foreach ( $contributor_posts as $contributor_post ) : ?>
|
||||||
<?php $pledge = get_post( $contributor_post->post_parent ); ?>
|
<?php $pledge = get_post( $contributor_post->post_parent ); ?>
|
||||||
|
|
||||||
<?php echo get_the_post_thumbnail( $pledge->ID, 50 ); ?>
|
<?php echo get_the_post_thumbnail( $pledge->ID, 'pledge-logo' ); ?>
|
||||||
<?php echo esc_html( $pledge->post_title ); ?>
|
<?php echo esc_html( $pledge->post_title ); ?>
|
||||||
|
|
||||||
<form action="" method="post">
|
<form action="" method="post">
|
Loading…
Reference in a new issue