Add Category Title to Blog Page

Community Forums Forums General Discussion Add Category Title to Blog Page

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  ramseyp 2 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5934

    Post count: 58

    I would like to add the category title to the top of a blog:

    Janet Morrow | Mountain Ash Website Design |
    Visit Our Site for more information and pricing.


    Post count: 99

    You can use a function to get the name of the category, then add it to the top of the content area. I’ve used this code before when doing it. It will add a heading 1 before the content area and it will be styled like the entry headings. The code in that Gist would go into your theme’s functions.php file. If that file ends with a question mark and a greater-than symbol ( &> ), make sure the code in placed before them.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.