Ready to get started?Download WordPress


one parent title for a few categories in sidebar (4 posts)

  1. marlakash
    Posted 8 years ago #

    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:


    RECIPES <=h1 for food categories

  2. Michael Bishop

    Posted 8 years ago #

    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?

  3. marlakash
    Posted 8 years ago #

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

  4. rbenson
    Posted 8 years ago #

    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).

Topic Closed

This topic has been closed to new replies.

About this Topic