Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Created June 21, 2019 13:13
Show Gist options
  • Save yousufansa/9210b7b50be4c1d5f46a754112ee8397 to your computer and use it in GitHub Desktop.
Save yousufansa/9210b7b50be4c1d5f46a754112ee8397 to your computer and use it in GitHub Desktop.
Jobhunt - Change Job Taxonomy Description Position
if( ! function_exists( 'jh_child_job_listing_taxonomy_description_change' ) ) {
function jh_child_job_listing_taxonomy_description_change() {
if( is_job_listing_taxonomy() ) {
add_filter( 'jobhunt_site_content_page_subtitle', function( $subtitle ) { return; } );
add_action( 'jobhunt_before_job_listing_loop_content', 'the_archive_description' );
}
}
}
add_action( 'jobhunt_before_content', 'jh_child_job_listing_taxonomy_description_change', 10 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment