Support » Themes and Templates » one parent title for a few categories in sidebar

  • i have a few categories which i would like to exclude from the regular list of categories. like: hair, make-up and recipes [containing Dinner, Lunch and Breakfast category recipes]. i would like to put a different looking h1 tag above the recipe categories, but i have no option of creating parent categories (i think i’m using WP 2.01). any ideas how i can do this?

    again, this is what i want to do:

    CATEGORIES
    ==========
    hair
    makeup

    RECIPES <=h1 for food categories
    =======
    Lunch
    Breakfast
    Dinner

Viewing 3 replies - 1 through 3 (of 3 total)
  • General rule of thumb is you only want to use h1 tags for the site’s title.

    Is “recipes” a parent category, or just the title you want above the categories?

    nope, it’s a category just like dinner and lunch. i just want to put that title above these categories only…

    If I understand you correctly, you don’t have a category called recipes. Write a query that uses wp_list_cats() there is some include/exclude options, exclude recipe-related. Then copy the whole category code, were it says Categories wrapped in h2 tags, type Recipes, then redo the query to only include the categories that are recipes (in your opinion).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘one parent title for a few categories in sidebar’ is closed to new replies.