I want to impliment a basic loop that does this….
-
I just want a latest posts area in the footer with an output that looks like this:
<div id="latest-post-area"> <h3>Latest Posts</h3> <ul id="latest-posts"> <li><a href="https://mydomain.com/archives/post01">Post 1</a></li> <li><a href="https://mydomain.com/archives/post02">Post 2</a></li> <li><a href="https://mydomain.com/archives/post03">Post 3</a></li> <li><a href="https://mydomain.com/archives/post04">Post 4</a></li> <li><a href="https://mydomain.com/archives/post05">Post 5</a></li> </ul> </div>
Obviously the loop would only be the actual
- tags… but I want to know the syntax for that.
Cheers.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘I want to impliment a basic loop that does this….’ is closed to new replies.