Support » Plugin: List category posts » Two categories displaying posts from ALL categories, help!

  • Resolved orwhateveryoudo

    (@orwhateveryoudo)


    On my page http://www.orwhateveryoudo.com/recipes I am trying to create a recipe index. My issue is that the two categories “Main Dish” and “Side Dish” appear to be displaying posts from ALL categories. Please help!

    I am a complete coding rookie, so please excuse any simple errors I may have made with the code.

    Below is the code as it is on my site to display what you see at the link…

    Beef
    [catlist name=Beef numberposts=-1 orderby=title order=asc]

    Breads
    [catlist name=Breads numberposts=-1 orderby=title order=asc]

    Breakfast
    [catlist name=Breakfast numberposts=-1 orderby=title order=asc]

    Chicken
    [catlist name=Chicken numberposts=-1 orderby=title order=asc]

    Dessert
    [catlist name=Dessert numberposts=-1 orderby=title order=asc]

    Main Dish
    [catlist name=Main Dish numberposts=-1 orderby=title order=asc]

    Pork
    [catlist name=Pork numberposts=-1 orderby=title order=asc]

    Seafood
    [catlist name=Seafood numberposts=-1 orderby=title order=asc]

    Side Dish
    [catlist name=Side Dish numberposts=-1 orderby=title order=asc]

    Soup
    [catlist name=Soup numberposts=-1 orderby=title order=asc]

    Thanks in advance for any help you can offer!

    http://wordpress.org/extend/plugins/list-category-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Also, just as an FYI, I checked the posts in question to make sure they weren’t labeled incorrectly. ALL of my posts are in the “blog” category, but the incorrectly placed posts are labeled in the appropriate category.

    Plugin Author Fernando Briano

    (@fernandobt)

    The problem is probably because of the space in the name of the category. Try this:
    [catlist name="Main Dish" numberposts=-1 orderby=title order=asc]
    [catlist name="Side Dish" numberposts=-1 orderby=title order=asc]

    Or use the category slug instead, probably “main-dish” and “side-dish”.

    THANK YOU!!! The quote around the cat names worked!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two categories displaying posts from ALL categories, help!’ is closed to new replies.