I took the first method:
And integrated it into, my blog. As you can see it gets the post titles correct.
For some reason, the content is the same on both!
Here is my code:
<?php $myposts = get_posts('numberposts=3&offset=2'); foreach($myposts as $post) : ?> <div class="r-post"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <?php the_excerpt('Read More...'); // the ?> </div> <?php endforeach; ?>
Am I doing something wrong?
- The topic ‘Method on Codec Doesn’t work Well’ is closed to new replies.