ThemeShaper Forums » Thematic

[closed]

Omit a Specifc Category

(3 posts)
  • Started 9 years ago by jessabella9
  • Latest reply from jessabella9
  • This topic is resolved
  1. jessabella9
    Member

    Hi,

    I am trying to figure out how to omit a specific category from the category menu in the gallery theme. I understand how to exclude the category id from the normal WordPress category function; however, I am unable to locate where to place the argument in this theme.

    Many Thanks :)

    Posted 9 years ago #
  2. Look in the finctions.php of the Gallery theme. Search for

    wp_list_categories('title_li=&number=7');

    change that to reflect the exclusion you desire. For example:

    wp_list_categories('title_li=&number=7&exclude=10');

    will exclude the category with the ID of 10 from the list.

    -Gene

    ref: http://codex.wordpress.org/Template_Tags/wp_list_categories#Include_or_Exclude_Categories

    Posted 9 years ago #
  3. jessabella9
    Member

    Thanks!

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.