diff --git a/templates/content-single-job_listing-company.php b/templates/content-single-job_listing-company.php index 4b86f9981..5279f2825 100644 --- a/templates/content-single-job_listing-company.php +++ b/templates/content-single-job_listing-company.php @@ -27,8 +27,11 @@

- - + + > ', '' ); ?> diff --git a/templates/job-application-url.php b/templates/job-application-url.php index da509ea1f..3e43a815c 100644 --- a/templates/job-application-url.php +++ b/templates/job-application-url.php @@ -14,5 +14,6 @@ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } +$apply_rel = apply_filters( 'job_manager_application_url_rel', 'nofollow', $apply ); ?> -

url, PHP_URL_HOST ) ); ?>.

+

>url, PHP_URL_HOST ) ); ?>.

diff --git a/wp-job-manager-template.php b/wp-job-manager-template.php index 327272aa7..6324032b2 100644 --- a/wp-job-manager-template.php +++ b/wp-job-manager-template.php @@ -1160,7 +1160,9 @@ function the_company_twitter( $before = '', $after = '', $echo = true, $post = n return null; } - $company_twitter = $before . '' . esc_html( wp_strip_all_tags( $company_twitter ) ) . '' . $after; + $_rel = apply_filters( 'job_manager_company_link_rel', 'nofollow', 'twitter', get_post() ); + $_rel_attr = $_rel ? ' rel="' . esc_attr( $_rel ) . '"' : ''; + $company_twitter = $before . '' . esc_html( wp_strip_all_tags( $company_twitter ) ) . '' . $after; if ( $echo ) { echo wp_kses_post( $company_twitter );