From 1336228976c275393f028f0b07698b31fdbf672c Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 28 Oct 2019 20:02:07 -0400 Subject: [PATCH] Pledge List: Get real pledge form link from page --- themes/wporg-5ftf/archive-5ftf_pledge.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/wporg-5ftf/archive-5ftf_pledge.php b/themes/wporg-5ftf/archive-5ftf_pledge.php index 3eb0f09..087c7f4 100644 --- a/themes/wporg-5ftf/archive-5ftf_pledge.php +++ b/themes/wporg-5ftf/archive-5ftf_pledge.php @@ -10,6 +10,7 @@ if ( ! have_posts() ) { nocache_headers(); } +$new_pledge_link = get_permalink( get_page_by_path( 'for-organizations' ) ); $pledge_order = isset( $_GET['order'] ) ? $_GET['order'] : ''; get_header(); ?> @@ -21,7 +22,7 @@ get_header(); ?>