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 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

camera-1800027_1920

Video killed the radio star…

snail-2247217_1280

The great #portfoliocatchup batch 3!

ocean-918999_1920

#portfoliocatchup batch 2

Get in touch

Talk to us about building your website

Subscribe to our spam-free mailing list!

Please enter your name.
Please enter a valid email address.
Something went wrong. Please check your entries and try again.
Posted in
Share
Tweet
Share
+1