Created
September 17, 2018 08:47
-
-
Save yousufansa/6559f125d565577482b7a243ca98897e to your computer and use it in GitHub Desktop.
Jobhunt Company Description Title & Job Listing Title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('jobhunt_company_description_title' , 'jobhunt_custom_company_description_title'); | |
if ( ! function_exists( 'jobhunt_custom_company_description_title' ) ) { | |
function jobhunt_custom_company_description_title($title) { | |
global $post; | |
$post = get_post( $post ); | |
$title = esc_html__( 'About ', 'jobhunt' ) . get_the_title(); | |
return $title; | |
} | |
} | |
add_filter('jobhunt_company_job_listing_title' , 'jobhunt_custom_company_job_listing_title'); | |
if ( ! function_exists( 'jobhunt_custom_company_job_listing_title' ) ) { | |
function jobhunt_custom_company_job_listing_title($title) { | |
global $post; | |
$post = get_post( $post ); | |
$title = esc_html__( 'Jobs From ', 'jobhunt' ) . get_the_title(); | |
return $title; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment