Results 1 to 2 of 2

Thread: Simple Query Question.

  1. #1
    Thread Starter
    seoagent's Avatar
    Join Date
    Jul 2012
    Location
    Edmonton, AB, Canada
    Posts
    660
    Thanks
    136
    Thanked 86 Times in 74 Posts

    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>

    When in doubt: Read, Ask, Do. G+

  2. #2
    Thread Starter
    seoagent's Avatar
    Join Date
    Jul 2012
    Location
    Edmonton, AB, Canada
    Posts
    660
    Thanks
    136
    Thanked 86 Times in 74 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    When in doubt: Read, Ask, Do. G+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple php query script
    By samonja in forum WordPress General Discussion
    Replies: 1
    Last Post: February 5th, 2013, 10:52 AM
  2. Really simple question...
    By stevebruce in forum Help Using JobRoller
    Replies: 10
    Last Post: December 14th, 2011, 01:53 PM
  3. Question about a query in JR
    By southpole in forum Report JobRoller Bugs
    Replies: 1
    Last Post: November 17th, 2011, 12:55 PM
  4. CSS - Textfiles - and a simple question :P
    By epiazk in forum ClassiPress General Discussion
    Replies: 7
    Last Post: October 14th, 2010, 12:26 PM
  5. CSS - Textfiles - and a simple question :P
    By epiazk in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 14th, 2010, 10:41 AM