Feed on

you can make a link to the newest post in a wordpress blog with just a little php:

$latestposts = get_posts(‘numberposts=1′);
foreach($latestposts as $post) :
<a href=”<?php the_permalink(); ?>”>Newest</a>
<?php endforeach; ?>

Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS