Viewing 3 replies - 1 through 3 (of 3 total)
  • There will be several locations in your setup where the category functions are called:
    https://codex.www.ads-software.com/Category_Templates

    When you ‘Manage Categories’, mouseover the category name, the browser status bar will show you the internal category number…

    In your theme, you locate the category function call where you want to supress a particular category.

    https://codex.www.ads-software.com/Template_Tags/wp_list_categories

    and exclude it…

    From the Codex:

    The following example displays category links sorted by name, shows the number of posts for each category, and excludes the category with the ID of 10 from the list.

    <ul>
    <?php
    wp_list_categories('orderby=name&show_count=1&exclude=10'); ?>
    </ul>

    It’s been a long day for me. Hope that’s on target…

    A secondary blog?

    Thread Starter pistonsnationblog

    (@pistonsnationblog)

    Actually I found this code:
    <?php if (in_category(’94’) && is_home()) continue; ?>

    and it seems to be just what I was looking for. Now I just need to know how to prevent a category from showing up in y RSS

    You could use a plugin that styles RSS feeds (search plugins)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to: Main blog skips catagory’ is closed to new replies.