• Hello everyone as written in the title of the post I need to remove the phrase “Course Category:” from the page title in the part related to breadcrumbs.

    Attach link of the sample page.

    Thanks for your attention.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author themepalace

    (@themepalace)

    This is a theme specific issue. Nevertheless do the following for what you want to achieve. Make the child theme of the theme and add the following snippet in your child theme’s functions.php:

    function graduate_filter_archive_tax_title( $title ){
       if ( is_tax() ) {
       		$tax = get_taxonomy( get_queried_object()->taxonomy );
       		/* translators: Taxonomy term archive title. 1: Taxonomy singular name, 2: Current taxonomy term */
       		$title = sprintf( __( '%1$s' ), single_term_title( '', false ) );
       	}
       	return $title;
    }
    add_filter( 'get_the_archive_title', 'graduate_filter_archive_tax_title', 10, 1 );

    Hope this helps.

    Regards,
    Theme Palace

    Thread Starter knives91

    (@knives91)

    Thanks very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove “Course Category” from page title’ is closed to new replies.