Skip to content

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…

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…

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

Recent Posts

business-3070472_1280

Using Gmail to Access Other Accounts

fluff

Celebrating #Web30 with a blast from the past

colour-of-the-year

And the colour of the year is…

Get in touch

Talk to us about building your website

Posted in

Leave a Comment