• Hi!

    Please can anybody help me with this? πŸ™‚

    I need to write a function with such sence: if post has category – show category, if a post has no category – don’t show a category.

    I’m new in WordPress and php, please help?

    Best, Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • lisa

    (@contentiskey)

    just to clarify: if a post does not have a special category then it is in the category uncategorized.

    if you want to remove the display of the category from the visitor’s view, there are some changes needed to php.

    before I make any recommendations, i want ask if you have a child theme set up so your php changes to template files are not made directly to the parent theme.

    Thread Starter MichaelNagval

    (@michaelnagval)

    Thank you, contentiskey!

    I know about category “uncategorized”.

    I need exactly to remove the display of the category from the visitor’s view.
    I use parent theme.

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

The topic ‘the_category display’ is closed to new replies.