• Resolved funkton

    (@funkton)


    Hi
    I ahve this

    <?php wp_dropdown_categories(‘hide_empty =0′,’child_of=5’); ?>

    but it is not bringing up the empty categories..
    Is there something wrong with it???
    Cheers
    Mat

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I think its a syntax error in your code try this line instead.

    <?php wp_dropdown_categories('hide_empty =0&child_of=5'); ?>

    Regards
    Peter

    Thread Starter funkton

    (@funkton)

    hi
    Thanks for that!
    It still isn’t bringing up all the subcategories.
    Only the ones with articles which is not what I want.
    the hide_empty doesn’t seem to be working…

    Hi,

    Try removing the space after hide_empty:

    <?php wp_dropdown_categories('hide_empty=0&child_of=5'); ?>

    I can’t see why this wouldn’t work, as long as you have your child id correct.

    Regards
    Peter

    Thread Starter funkton

    (@funkton)

    It’s always the simplest of things!!!
    cheers for that the space was the culprit!
    Cheers
    Mat

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category Drop Down List Not Workgin’ is closed to new replies.