Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Featured Ads - in hompage "tab" (3.0.5.3)

  1. #1
    Thread Starter
    Member iamfabian's Avatar
    Join Date
    Aug 2010
    Location
    London, ON
    Posts
    60
    Thanks
    0
    Thanked 18 Times in 11 Posts

    Cool Featured Ads - in hompage "tab" (3.0.5.3)

    in index.php find:

    PHP Code:
    <ul class="tabnavig"
    add this line.. note the #block.. (btw, you can add additional blocks if you wish or just edit a current block)

    PHP Code:
    <li>
    <a href="[B]#block3[/B]">
    <span class="big"><?php _e('Featured Listings','appthemes')?></span>
    </a>
    </li>

    now, scroll down and find:

    PHP Code:
    <!-- tab 3 -->
    <
    div id="block3"

    scroll down a little further...

    when you find:

    PHP Code:
    <?php
      
    // show all random ads but make sure the sticky featured ads don't show up first
    alter all the info between <?php ?> to read as this:

    PHP 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''ad_cat' => $term->slug'caller_get_posts' => 1'post__in' => get_option('sticky_posts'), 'paged' => $paged'orderby' => title'order' => ASC));
     
                    
    ?>
    here is a sample of this working:

    FEATURED TAB SAMPLE

    ** make sure you have some ads marked as sticky! if you have just installed and have a bunch of ads, classipress automatically makes then ' featured'.. as soon as you have actually created a 'featured ad(s)'.. then the tab will only show those that are featured **
    Last edited by pepsi; January 26th, 2011 at 02:54 AM.
    i do. print. web. media. iamfabian

  2. The Following 6 Users Say Thank You to iamfabian For This Useful Post:

    edgarpy (September 19th, 2011), espider (February 2nd, 2011), joniboy (February 5th, 2011), kenton (February 24th, 2011), mignonkm (February 15th, 2011), quim (March 30th, 2011)

  3. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 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.

  4. #3
    Thread Starter
    Member iamfabian's Avatar
    Join Date
    Aug 2010
    Location
    London, ON
    Posts
    60
    Thanks
    0
    Thanked 18 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    i do. print. web. media. iamfabian

  5. #4
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    Junior Member reboot's Avatar
    Join Date
    Nov 2010
    Posts
    47
    Thanks
    4
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #8
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #9
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  11. #10
    mignonkm's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    37
    Thanks
    22
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [MOD NEEDED] Simple mod: add text to "Your listing will appear in the featured slider..."
    By doctorcilantro in forum ClassiPress General Discussion
    Replies: 8
    Last Post: April 1st, 2014, 08:40 AM
  2. Place title in the images "pause.png" and "start-blue.png"
    By barukar in forum Help Using ClassiPress
    Replies: 3
    Last Post: November 5th, 2011, 12:19 PM
  3. [MOD NEEDED] Change Titles "Featured Listings" and "Ad Categories"
    By mignonkm in forum ClassiPress General Discussion
    Replies: 6
    Last Post: December 10th, 2010, 01:16 PM
  4. [SOLVED] How to Change the words "Ad Categories" and "Featured Listings"
    By Raremagic in forum Help Using ClassiPress
    Replies: 3
    Last Post: November 11th, 2010, 08:08 AM
  5. Replies: 6
    Last Post: October 2nd, 2010, 11:50 AM