Results 1 to 2 of 2

Thread: New Tab - Specific Category/Sub Cats Required

  1. #1
    Thread Starter
    Amateur phoenixgb's Avatar
    Join Date
    Apr 2011
    Location
    United Arab Emirates
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    New Tab - Specific Category/Sub Cats Required

    Hi All

    Ok i have added a new tab to the index.php but my php isnt upto much and i need a bit of help. I'm using v3.0.54

    What do i change here...??

    Code:
                    <?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' => 'ad_listing', 'caller_get_posts' => 1, 'paged' => $paged, 'orderby' => rand,));
                    ?>
    to specify a number of categories??

    Any help appreciated.

    http:///www.bejanga.com is the live site.

    Cheers

  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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Add a Specific Category on the Navigation Bar
    By mrg19 in forum ClassiPress General Discussion
    Replies: 14
    Last Post: September 18th, 2011, 03:16 AM
  2. Featured Bar Category Specific?
    By whiteknight in forum Help Using ClassiPress
    Replies: 2
    Last Post: December 31st, 1969, 07:00 PM