Results 1 to 6 of 6

Thread: Blog link showing in Ad Categories Widget

  1. #1
    Thread Starter
    Rookie blacklotus's Avatar
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Blog link showing in Ad Categories Widget

    I have this little bug where the Blog link, is showing up in my Ad Categories Widget. My blog has the default category id of 3, and I have checked that the Classipress settings and made sure the blog category id is correct.

    Pretty sure this is a bug since the source code is supposed to exclude the blog tree. I have checked and CP_BLOG_CAT_ID is in fact displaying id 3 as well. So something must be wrong with this line of code, though it all seems correct when I checked with codex.wordpress.org.

    Code:
    <?php wp_list_categories('orderby=name&show_count=1&title_li=&exclude_tree='.CP_BLOG_CAT_ID); ?>
    Please advise.

  2. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: Blog link showing in Ad Categories Widget

    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Rookie blacklotus's Avatar
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Blog link showing in Ad Categories Widget

    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Rookie blacklotus's Avatar
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Blog link showing in Ad Categories Widget

    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Rookie blacklotus's Avatar
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Blog link showing in Ad Categories Widget

    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: Blog link showing in Ad Categories Widget

    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)