Theme: Add org logo to single pledge view

This commit is contained in:
Corey McKrill 2019-10-24 18:08:44 -07:00
parent 6771e352fe
commit 4bf4f9a1f0
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38

View file

@ -18,16 +18,18 @@ $report_page = get_page_by_path( 'report' );
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
<span>
<?php
printf(
'<a href="%1$s">%1$s</a>',
esc_url( $post->{'5ftf_org-url'} )
);
?>
</span>
<!-- TODO logo -->
<div class="">
<?php the_title( '<h2 class="entry-title">', '</h2>' ); ?>
<span>
<?php
printf(
'<a href="%1$s">%1$s</a>',
esc_url( $post->{'5ftf_org-url'} )
);
?>
</span>
</div>
<?php the_post_thumbnail( array( 288, 288 ) ); ?>
</header>
<div class="entry-content">