Skip to content
Vthomas.Tech

Remove Category Title from category pages

December 6, 2021

Add this function to the functions.php in the theme

function prefix_category_title( $title ) {
    if ( is_category() ) {
        $title = single_cat_title( '', false );
    }
    return $title;
}
add_filter( 'get_the_archive_title', 'prefix_category_title' );
Categories Help Articles, Wordpress
Add a administor user to your WordPress Site via FTP/SFTP
nuggetsandpizza: Allow me to remind you about Mandark’s laugh

Contact Information

Phone 415-886-7676
Email  [email protected]

© 2023 VThomas.tech
  • Home
  • Services
  • About
  • Styles
  • Blog
  • Contact