How wp_list_categories to show cat with more than one word. (4 posts)

  1. Yermandu
    Posted 5 years ago #

    The problem is i want Show 5 specific categories.

    3 Categories have just one word, but 2 categories have "two words" or more.

    I want show For Example:

        |Orange|Limon|Pie Apple|Table Of Contents Nutrients|Water|

    But is showed:


    The Categories Pie Apple and Table Of Contents Nutrients are not display.

    I use the follow code:

    How i can resolve this?

  2. You can have wp_list_categories list the category description instead of the title, and other options. See the docs.

  3. Yermandu
    Posted 5 years ago #

    Hmmm, can you explain more?
    I don understand how i change change description instead of title.

  4. Sorry - missed the continuation of this; what I wrote above is wrong. Only other thing I can think of is if you have spaces in your category slugs. Category names can be "My One Category". Category slugs have to be "my-one-category"

Topic Closed

This topic has been closed to new replies.

About this Topic