WordPress.org

Ready to get started?Download WordPress

Forums

Problem with Featured Posts in Home Page. (1 post)

  1. uneecsolutions
    Member
    Posted 2 years ago #

    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'); ?>
    " title="<?php the_title(); ?>" class="overlay">
    " title="<?php the_title(); ?>" class="title"><?php the_title(); ?>
    </div>
    </div>
    <?php endwhile; ?>

    <ul class="slideposts">

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

  2. <?php dt_thumb('width=78&height=50&link=#'); ?>
  3. <?php endwhile; ?>

    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags