• Resolved girdy74

    (@girdy74)


    Hello! I was wondering if there was a way to change the page/cpt title? For example those pages have “Jobs” as the title and I’d like to change this.

    It’s also linking this main title with an empty link.

    Thank you!

    • This topic was modified 2 years, 6 months ago by girdy74.
Viewing 1 replies (of 1 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    You can achieve your requirement by adding the below code in your theme’s functions.php file. You can add a slug that is similar to the job listing page, then it won’t get redirected to an empty link.

    add_filter( 'register_post_type_args', 'thjm_slug_change_register_post_type_args', 10, 2 );
    function thjm_slug_change_register_post_type_args( $args, $post_type ) {
    
        if ( 'thjm_jobs' === $post_type ) {
            $args['rewrite']['slug'] = 'sample-page'; // Replace it with your slug here, You can also give job_listing page slug.
        }
    
        return $args;
    }

    Further, you can also set a single job permalink manually using our job manager settings. Please refer to the below screenshot.

    https://prnt.sc/WYPVCY3sNNuu

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin Page/CPT Title’ is closed to new replies.