WordPress.org

Support

Support » How-To and Troubleshooting » Problem with Featured Posts in Home Page.

Problem with Featured Posts in Home Page.

  • Hi I’m using a theme Newsworld. This is the Link of the theme http://deluxethemes.com/newsworld . there is a lot of issue with the theme but even after weeks there is no help from the developers. since few days i’ve fixed the problem with main tab and latest post section. but featured post is a thing which i’m not able to fix. Problem in featured post is i’m not able to limit the no of post to say 10 posts and secondly i want to latest post to be at first but its not taking order by DESC. kindly help me out in this.

    This is the code used for featured post section

    <div class="slide">
    
    	<?php while ($display->have_posts()) : $display->the_post(); $do_not_duplicate[] = $post->ID; ?>
    	<div class="item">
    		<div class="item-contents">
    			<?php dt_thumb('width=430&height=247'); ?>
    			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="overlay"></a>
    			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="title"><?php the_title(); ?></a>
    		</div>
    	</div>
    	<?php endwhile; ?>
    
    	<ul class="slideposts">
    
    	<?php while ($display->have_posts()) : $display->the_post(); ?>
    	<li><?php dt_thumb('width=78&height=50&link=#'); ?></li>
    	<?php endwhile; ?>
    
    	</ul>
    
    </div>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with Featured Posts in Home Page.’ is closed to new replies.
Skip to toolbar