Exclude Category

Community Forums Forums Design Tips and Tricks Exclude Category

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  braddalton 1 year, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #61800

    keylimedigitaldesigns@gmail.com
    Participant
    Post count: 28

    Hi :)
    Okay here is what I am trying to do …
    Here is my blog …

    http://www.enjoyabite.com/

    When you click on “recipes” I want it to show all the recipes.

    But at the bottom of each individual post where it says “Filed under” I don’t want it to say recipes.

    Does that make sense?

    Or maybe there is an easier way to have all the recipes posts show when someone clicks “recipes” without having to add each post to that category?

    Kendra

    http://www.enjoyabite.com/category/lunch/salads/
    #61818

    Robin
    Participant
    Post count: 327

    You can remove it sitewide with this code snippet (HTML5). It is possible to use the categories without showing that information.

    If you want to only remove the recipes category and still have them display on other categories, then you’ll want to set it up as a conditional function. HTH


    I do the best I can with what I’ve got. (say hey on twitter)

    #61858

    keylimedigitaldesigns@gmail.com
    Participant
    Post count: 28

    Okay thanks :)
    So yes, I want it to still say “filed under: pasta, lunch” in the post meta I just don’t want it to say “recipe” …

    So what code would I add?
    Kendra

    #61868

    braddalton
    Participant
    Post count: 10563

    You can but you need to filter the args a bit like how its done with the comment form.http://codex.wordpress.org/Template_Tags/wp_list_categories


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.