Category description not displaying on Category pages

Asked on June 19, 2015 in Troubleshooting.
Answered

Hey guys. So here’s what’s happening.

In my main menu, I have a few categories listed. When you click on one of the categories, it takes you to a page that displays all of the posts in that category. At the top of the page, it should show the title of the category, and the description. The problem is that it shows a category title and description, but not necessarily the correct one.

I found out that it’s actually grabbing the category and category description from the first category listed on the first post on that page.

If there’s not a fix, I wouldn’t mind just disabling the category title and description on these pages, but I’m not sure how to do that either.

TechnoMaverick Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on August 21, 2015. Best answer

    Hi there,

    This has been fixed:
    https://github.com/Obox/layerswp/issues/188

    To hide the title banner, you must get the page or category ID from the body tag in the View Source pane, then combine it with .title-container. Example:

    
    .category-design .title-container{display: none;}
    
    
    Vail Joy Layers Team
    Reply