Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Let's finally work together on Featured Ribbon up for 3.0.5.3

  1. #1
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts

    Let's finally work together on Featured Ribbon up for 3.0.5.3

    I have a mod here from the forums which allows the SOLD images, and I tried to use some similar syntax but we need a a mod/coder to step on this:

    <h3><a href="<?php the_permalink(); ?>"><?php if (mb_strlen(get_the_title()) >= 75) echo mb_substr(get_the_title(), 0, 75).'...'; else the_title(); ?></a><span><?php if (get_post_meta($post->ID, 'cp_ad_sold', true) == 'yes') : ?><img src="/wp-content/themes/classipress/images/sold_tag.gif"></span><span><?php if (get_post_meta($post->ID, 'sticky_posts', true) == 'yes') : ?><div class="featured-ribbon"></div></span><?php endif; ?></h3> <div class="price-wrap"><span class="tag-head">&nbsp;</span><p class="ad-price"><?php if(get_post_meta($post->ID, 'price', true)) cp_get_price_legacy($post->ID); else cp_get_price($post->ID); ?></p></div>
    I assume we need this type of query run as well?

    <?php query_posts(array('post__in' => get_option('sticky_posts'), 'post_type' => 'ad_listing', 'post_status' => 'publish',)); ?>

    <?php if (have_posts()) : ?>

  2. #2
    Thread Starter
    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!

  3. #3
    Thread Starter
    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!

  4. #4
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    ~ Seth Carstens, Sethmatics Inc.


  5. #5
    Thread Starter
    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. #6
    Thread Starter
    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. #7
    Amateur minimalist's Avatar
    Join Date
    Nov 2010
    Location
    Romania
    Posts
    19
    Thanks
    0
    Thanked 3 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Thread Starter
    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!

  9. #9
    Amateur minimalist's Avatar
    Join Date
    Nov 2010
    Location
    Romania
    Posts
    19
    Thanks
    0
    Thanked 3 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    Thread Starter
    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!

Page 1 of 3 123 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] Looking for instructiions on the Featured Ribbon
    By jmedrano in forum ClassiPress General Discussion
    Replies: 5
    Last Post: March 13th, 2011, 08:05 AM
  2. [MOD NEEDED] Featured Ribbon
    By samanders in forum ClassiPress General Discussion
    Replies: 2
    Last Post: February 1st, 2011, 05:00 AM
  3. Site finally done
    By aggieoutlaw8 in forum Showcase & Feedback
    Replies: 18
    Last Post: December 17th, 2010, 06:42 AM
  4. I finally managed to transaction part of the site with poEdit
    By pfadmin in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: August 18th, 2010, 11:13 AM