diff --git a/plugins/wporg-5ftf/includes/pledge-form.php b/plugins/wporg-5ftf/includes/pledge-form.php index 76275d3..ab4e3ba 100755 --- a/plugins/wporg-5ftf/includes/pledge-form.php +++ b/plugins/wporg-5ftf/includes/pledge-form.php @@ -27,6 +27,7 @@ function render_form_new() { $data = get_form_submission(); $messages = []; $complete = false; + $directory_url = get_permalink( get_page_by_path( 'pledges') ); if ( 'Submit Pledge' === $action ) { $processed = process_form_new(); diff --git a/plugins/wporg-5ftf/views/form-pledge-new.php b/plugins/wporg-5ftf/views/form-pledge-new.php index bfdd8be..c23ec62 100755 --- a/plugins/wporg-5ftf/views/form-pledge-new.php +++ b/plugins/wporg-5ftf/views/form-pledge-new.php @@ -3,8 +3,12 @@ namespace WordPressDotOrg\FiveForTheFuture\View; use function WordPressDotOrg\FiveForTheFuture\get_views_path; -/** @var array $messages */ -/** @var bool $complete */ +/** + * @var array $messages + * @var bool $complete + * @var string $directory_url + */ + ?>

@@ -24,11 +28,20 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;

-

+

-

+

+ the directory.', 'wporg' ), + esc_url( $directory_url ) + ) ); ?> +

-

+

+ Post a job listing on jobs.wordpress.net.', 'wporg' ) + ); ?> +