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"> </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()) : ?>