From 5d6cb25232fe160205c2fcb3290eb0fd099f4309 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Fri, 25 Oct 2019 13:51:01 -0400 Subject: [PATCH] Add pledge sorting markup --- themes/wporg-5ftf/archive-5ftf_pledge.php | 30 ++++++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/themes/wporg-5ftf/archive-5ftf_pledge.php b/themes/wporg-5ftf/archive-5ftf_pledge.php index 617dae5..5304e36 100644 --- a/themes/wporg-5ftf/archive-5ftf_pledge.php +++ b/themes/wporg-5ftf/archive-5ftf_pledge.php @@ -2,6 +2,8 @@ namespace WordPressdotorg\Five_for_the_Future\Theme; +use const WordPressDotOrg\FiveForTheFuture\Pledge\CPT_ID; + // If we don't have any posts to display for the archive, then send a 404 status. See #meta4151. if ( ! have_posts() ) { status_header( 404 ); @@ -15,10 +17,30 @@ get_header(); ?>