diff --git a/themes/aupresses-jobs/wp-job-manager.php b/themes/aupresses-jobs/wp-job-manager.php index f2169f2b1..6238f3bd5 100644 --- a/themes/aupresses-jobs/wp-job-manager.php +++ b/themes/aupresses-jobs/wp-job-manager.php @@ -16,7 +16,7 @@ */ function hc_custom_wp_jobs_can_post_job_up( $can_post ) { $current_site = get_site_url(); - if ( ! $can_post || strpos( $current_site, 'jobs.up.hcommons' ) === False ) { + if ( ! $can_post || strpos( $current_site, 'jobs.up.hcommons' ) === false ) { return $can_post; } if ( ! class_exists( 'Humanities_Commons' ) ) { @@ -25,9 +25,9 @@ function hc_custom_wp_jobs_can_post_job_up( $can_post ) { $memberships = Humanities_Commons::hcommons_get_user_memberships(); if ( is_array($memberships['societies'] ) && in_array( 'up', $memberships['societies'] ) ) { - return True; + return true; } else { - return False; + return false; } } add_filter( 'job_manager_user_can_post_job', 'hc_custom_wp_jobs_can_post_job_up', 10, 1 ); @@ -43,14 +43,20 @@ function hc_custom_wp_jobs_can_post_job_up( $can_post ) { function hc_job_form_disabled_message() { ?>
- The AUPresses Jobs List is integrated with UP Commons, - the collaborative online platform built for our community. In order to post to the Jobs List, - AUPresses members will need to have an active account on UP Commons. If you don’t already have a UP Commons account, - please find - + The AUPresses Jobs List is integrated with UP Commons, the collaborative online platform built for our community. + In order to post to the Jobs List, AUPresses members need to have an active account on UP Commons. If you don’t + already have a UP Commons account, please find + instructions to register here.
++ If you are not a member of the Association, learn + + more about advertising positions + + via the AUPresses Jobs List. +