<div id="annonce-mea-sidebar" class="shadowblock_out"> <div class="shadowblock"> <h2 class="dotted">Annonce à la une</h2> <div class="feat_item-sidebar"> <?php appthemes_before_loop( 'featured' ); ?> <?php if ( $featured = cp_get_featured_slider_ads() ) : ?> <?php while ( $featured->have_posts() ) : $featured->the_post(); ?> <?php appthemes_before_post( 'featured' ); ?> <div class="feat_item type-de-prix-<?php $cat_id = appthemes_get_custom_taxonomy( $post->ID, APP_TAX_CAT, 'term_id' ); echo $cat_id; ?>"> <a class="feat-title-ads" href="<?php the_permalink(); ?>"> <?php if ( mb_strlen( get_the_title() ) >= $cp_options->featured_trim ) echo mb_substr( get_the_title(), 0, $cp_options->featured_trim ) . '...'; else the_title(); ?> </a> <?php if ( $cp_options->ad_images ) cp_ad_featured_thumbnail(); ?> <?php appthemes_after_post_title(); ?> <div class="price_sm muted"><?php cp_get_price( $post->ID, 'cp_price' ); ?></div> </div> <?php appthemes_after_post( 'featured' ); ?> <?php endwhile; ?> <?php appthemes_after_endwhile( 'featured' ); ?> <?php endif; ?> <?php appthemes_after_loop( 'featured' ); ?> <?php wp_reset_postdata(); ?> </div> <div class="clr"></div> </div><!-- /shadowblock --> </div><!-- /shadowblock_out --> <!-- / sidebar article mise en avant -->
There are currently 1 users browsing this thread. (0 members and 1 guests)