Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter srhnbr

    (@srhnbr)

    Never mind I got it!

    This might may regarding the query_vars so you can see what’s there..

    <pre><?php print_r($wp_query->query_vars); ?></pre>

    Also you may wish to consider posting your solution for other users.

    Thread Starter srhnbr

    (@srhnbr)

    @t31os_ that’s right that’s what I ended up doing then I found out that all I had to do was the following:

    $term_id 			= get_query_var('term_id');

    It was right there in front of me all the time!

    Thread Starter srhnbr

    (@srhnbr)

    forgot to mention that the above was used in the taxonomy.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Taxonomies and current taxonomy term ID’ is closed to new replies.