Simple Query Question.
My other post was really long and mulit-topics. So I am making this one short and to the point. If you can help, great!
We can use the cat_id variable to call the specific ad category in refine search. So how to use this variable in the taxonomy-ad_tag.php file? So that the ad tag query is only within the same ad category?
This is the default code. I just need to know how to insert the $cat_id variable, so the ad tags are only querying the ads within the ad category and not site wide.
Code:
<div class="content_left">
<?php $term = get_queried_object(); ?>
<div class="shadowblock_out">
<div class="shadowblock">
<div id="catrss"><a href="<?php echo get_term_feed_link($term->term_id, $taxonomy); ?>" title="<?php printf( __( '%s RSS Feed', APP_TD ), $term->name ); ?>"><?php printf( __( '%s RSS Feed', APP_TD ), $term->name ); ?></a></div>