Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: Passing Cat ID
    Thread Starter tlsceo

    (@tlsceo)

    Just incase anyone else can use this, here is what I did to resolve this issue.

    ‘<?php

    $current=get_query_var(‘cat’);

    wp_list_cats (“optioncount=$c&hierarchical=$h&sort_column=$s&child_of=$current”);

    ?>’

    Forum: Plugins
    In reply to: Category ID
    tlsceo

    (@tlsceo)

    is there a way that I can use get_query_var(‘cat’); to pass the current category ID to wp_list_cats in order to display only children of the current category?

    Thread Starter tlsceo

    (@tlsceo)

    I am not seeing a way to edit my above post, but the second set of cat/subs should have tabs in for the sub-categories. I didnt realize the formatting would change when I posted.

Viewing 3 replies - 1 through 3 (of 3 total)