diff --git a/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php b/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php index 8bd38a0..f3d02bc 100644 --- a/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php +++ b/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php @@ -11,6 +11,8 @@ $contributors = Contributor\get_contributor_user_objects( Contributor\get_pledge_contributors( get_the_ID(), 'pending' ) // TODO set to 'publish' when finished testing ); +$report_page = get_page_by_path( 'report' ); + /** @var WP_Post $post */ ?> @@ -95,7 +97,6 @@ $contributors = Contributor\get_contributor_user_objects(