Results 1 to 3 of 3

Thread: Under TAB one category?

  1. #1
    Thread Starter
    zakopiecwp's Avatar
    Join Date
    Jul 2010
    Location
    Poland
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Under TAB one category?

    Hi
    I have a code index.php:
    "
    <div id="block3">

    <div class="clr"></div>

    <div class="undertab"><span class="big"><?php _e('Classified Ads','appthemes') ?> / <strong><span class="colour"><?php _e('Random','appthemes') ?></span></strong></span></div>

    <?php
    // show all random ads but make sure the sticky featured ads don't show up first
    $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
    query_posts( array('post_type' => APP_POST_TYPE, 'ignore_sticky_posts' => 1, 'paged' => $paged, 'orderby' => 'rand') );
    ?>

    <?php get_template_part( 'loop', 'ad_listing' ); ?>

    </div><!-- /block3 -->
    "
    What and how change code for Random but one category?
    Thx

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    zakopiecwp's Avatar
    Join Date
    Jul 2010
    Location
    Poland
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [MOD NEEDED] Separate Search bar category (Main category dropdown, Sub-Catogory Dorpdown list)
    By anthonyportal1 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: September 17th, 2011, 07:08 AM
  2. Replies: 5
    Last Post: March 25th, 2011, 08:41 PM
  3. Show parent category in index, search result and category
    By setempat in forum ClassiPress General Discussion
    Replies: 1
    Last Post: January 7th, 2011, 05:02 AM
  4. price by category how to disable parent category select
    By lours in forum Help Using ClassiPress
    Replies: 1
    Last Post: October 14th, 2010, 02:50 PM