Support » Theme: Twenty Sixteen » How to hide “Category:” ??

  • Resolved bensontel2

    (@bensontel2)


    In this example it is showing “Category:Letters to the Institute”. I would like to hide “Category:” so the only words that display are “Letters to the Institute”.

    I would like this to be true of all category labels. What custom CSS would I need to insert? Thank you.

    FYI: I am using Post Tags and Categories for Pages by curtismchale Version 1.4.1. I don’t understand the details (below) but I believe that this plugin has no effect on display of labels.
    ***

    Post Tags and Categories for Pages adds the stock WordPress categories
    for all of your pages. Pages will show up in the stock WordPress archive
    queries.

    This WILL NOT add any display of categories or tags to your template files. There are simply to
    many ways that things could be displayed in a theme so we don’t do it. If you need to add this
    then look at using WordPress functions like the_category()
    and other category or tag function supplied in WordPress.
    ***

    • This topic was modified 4 years, 12 months ago by bensontel2.
    • This topic was modified 4 years, 12 months ago by bensontel2.
    • This topic was modified 4 years, 12 months ago by bensontel2.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The archive labels that you are referring to is annoying that WordPress does not have the option to simply turn them off, so you have to use what is called a filter to change it. The bad news is that you need to create a child theme to do this and create a functions.php file in your child theme.

    Here is a solution that worked for one person Remove Category Tag

    Info on Creating a Child Theme

    UPDATE: I just found this plugin which you may want to try Archive Control

    Thread Starter bensontel2

    (@bensontel2)

    Thank you! The archive control worked! I am using a child theme. Happily I didn’t have to enter any code. The plugin *may* have slowed down my site a bit, or it may be something else.

    • This reply was modified 4 years, 12 months ago by bensontel2.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to hide “Category:” ??’ is closed to new replies.