Support » Plugin: Sub Categories Widget » Sub Categories Widget not showing on category pages

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BC


    Your site seems to have issues and I can’t even view it. I don’t have this issue on my site, where the plugin is used a number of times. I expect that, given the current status of your site, this isn’t an issue with the plugin.

    Kristof Van der Jonckheyd


    Oops, yeah I accidentaly left some whitespace in the wrong place… My site couldn’t load properly because of this.

    Having fixed this the plugin still doesn’t show up. I know the problem resides in my website, since it is working on every other website 🙂

    I guessed this plugin must use the category ID as an important parameter for it’s output. So I looked for a function that get’s the ID of the current category you’re at, and echos it. Here’s this function:

    function getCurrentCatID(){
    global $wp_query;
    if(is_category() || is_single()){
    $cat_ID = get_query_var(‘cat’);
    echo $cat_ID;

    The weird thing is that on my site, in every category it allways echoed “1”… Thats the uncategorized category ID. I have no idea what could be the cause of this… Does anyone have any ideas? 🙂


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sub Categories Widget not showing on category pages’ is closed to new replies.