• I’m having real trouble building a Template to display latest posts within the Ari Theme, whenever I place a loop within the template it returns either an empty page or, if I use rewind_posts() the title of the page.

    What am I missing?

    I have copied the loops out of other themes that work fine and they all exhibit the same problem.

    I can list my posts outside of the loop for instance with this;

    <?php $myposts = get_posts('numberposts=10&offset=0');
    foreach($myposts as $post) : ?>
    <h3 class="page_item">
    <a>"><?php the_title();?></a>
    <p><?php the_content('Read more...'); ?></p>
    </h3>
    <?php endforeach; ?>

    Which returns the correct titles but, of course, being outside the loop the_content() returns empty.

    Any help gratefully received.

  • The topic ‘[Theme: Ari ] Latest Posts’ is closed to new replies.