Most Recent Post
-
I would like to add some code to my header.php which will get the link-address and the heading for a single post – my post recent post in one particular category. This should not affect the remainder of the page, which may well include a call to the_loop().
I need something like this:
<p>Latest News: <a href=”
<?php echo {url here}; ?>
“>
<?php echo {post heading here}; ?>
</p>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Most Recent Post’ is closed to new replies.