Forums

Categories exist but main page still says "No Categories" (5 posts)

  1. Zardon
    Member
    Posted 1 year ago #

    This is the code that I have on my index page:

    <?php wp_list_categories('sort_column=menu_order&title_li=&depth=1&show_count=0&include='.get_wpn_config('menu_include').'&exclude='.get_wpn_config('menu_exclude')); ?>

    I only have one existing category but doesn't show up on the main page.

    Any suggestions?

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    do you have a post with that one category?
    (categories without posts do not show)

    have you set any categories to include or exclude in your theme options?

    sometimes, a link to the site with the problem might htelp.

    doesn't show up on the main page

    does it show anywhere else?

  3. Zardon
    Member
    Posted 1 year ago #

    Yes, the category has 50+ posts and only shows up when you go to the actual category page.

    How do I include it into the theme?

  4. hazzer3211jh
    Member
    Posted 1 year ago #

    Hi, I have the same problem. The categories won't update on the site at all. I've tried refreshing the page and also accessing it from another location. No joy. Maybe it's a glitch on the WordPress system tonight?
    John

  5. bcworks
    Member
    Posted 1 year ago #

    I have the same problem with the Wynton Magazine Theme on the home page....heres the code.

    <ul id="catnav" class="clearfloat">
    <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=30');?>

Topic Closed

This topic has been closed to new replies.

About this Topic