Headway tip – removing Category Archives title

This is a slight change in the nature of the blog posts here. Sometimes I find useful snippets of code or ideas that other WordPress / Headway geeks may enjoy. If this post makes no sense to you whatsoever, don’t worry, it’s not supposed to!

If you’re using the Headway theme and you want to remove the heading “Category Archives:” from the archive pages, in your child theme’s functions.php or using a plugin like My Custom Functions add this bit of code:

function cp_cat_title(){
    $content = ''. single_cat_title(false, false) .'';

    return $content;
}
add_filter('headway_category_title', 'cp_cat_title', 1);

With thanks to http://support.headwaythemes.com/discussion/22304/remove-category-archives-title/p1

Copyright © 2011-2017 fairly marvellousWeb Design by fairly marvellous Kent