I’m having trouble with my loop, hoping you can lend a hand. As you’ll notice, PHP is NOT my strong suit – so please feel free to refine this code as required.
Basically, I want to display a featured post with an image in a div, then another div that contains three post excerpts and – below that – four post titles in an unordered list.
The loop works okay (despite its ugliness), except that I can not figure out where to insert the UL to wrap around the LI tags.
My current loop can be found at http://pastebin.com/DXVmeATV and my fingers are crossed! Thanks.
- The topic ‘Need PHP help with loop’ is closed to new replies.