Support » Fixing WordPress » Problem with Featured Posts in Home Page.

  • Hi I’m using a theme Newsworld. This is the Link of the theme . 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’); ?>
    ” title=”<?php the_title(); ?>” class=”overlay”>
    ” title=”<?php the_title(); ?>” class=”title”><?php the_title(); ?>
    <?php endwhile; ?>

    <ul class=”slideposts”>

    <?php while ($display->have_posts()) : $display->the_post(); ?>

  • <?php dt_thumb(‘width=78&height=50&link=#’); ?>
  • <?php endwhile; ?>


  • The topic ‘Problem with Featured Posts in Home Page.’ is closed to new replies.