Results 1 to 2 of 2

Thread: Featured Listing on Ads single page

  1. #1
    Thread Starter
    Expired Customer marcofischer's Avatar
    Join Date
    Jan 2017
    Posts
    19
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Featured Listing on Ads single page

    Hello !

    I would like to use the "Featured Listings" on my sidebar without sidebar animation.

    So, I use this code ;
    HTML Code:
    <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 -->
    Work's great on my Home page http://834977b785.url-de-test.ws/ !
    All information is display (Name - Pictures - Category - Town - Date - Price)

    But on my single ads page, I just have the Name - Pictures and Price... and I really don't understand whyt, it's the same code :/
    http://834977b785.url-de-test.ws/ads...nt-louis-t3-2/

    Can you help me ?

    Thank you

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,768
    Thanks
    242
    Thanked 1,068 Times in 1,008 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dimitris remove name of listing author from single listing page
    By glorease in forum Help Using Vantage (Legacy)
    Replies: 2
    Last Post: September 24th, 2013, 04:54 PM
  2. Replies: 0
    Last Post: March 13th, 2013, 09:28 AM
  3. Mark featured Listings in single-listing.php
    By mgieron in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: February 15th, 2013, 09:10 AM
  4. Dimitris Mark featured Listings in single-listing.php
    By mgieron in forum Report Vantage Bugs (Legacy)
    Replies: 0
    Last Post: February 15th, 2013, 05:02 AM
  5. [SOLVED] How can I change Poster Tap in the Listing is under the block. Single Page Ad Listing
    By cgsolitario in forum Report ClassiPress Bugs
    Replies: 7
    Last Post: February 10th, 2013, 12:18 PM