Still testing layout changes

This post has now been superceded by this one

What I’m trying to achieve is an inline-linkblog type effect, with the posts to the quicklink category being displayed all together after all of that day’s main posts (if any).

At present (as you can see) they are displaying at the bottom of the page (because I have put them in a second loop). What I want to do is find how to trap the date header code in the main loop so I can display this set at the bottom of the day …

Basic category detection and formatting code based on Matt’s Asides, modified to catch all of the quicklink posts in an array for later posting.

before the main loop:

<br /> $quicklinks = array();<br />

In the main loop:

<br /> if (in_category(35) && !$single) {<br /> $quicklinks[] = $post;<br /> } else {<br /> //do normal post here<br /> }<br />

And after the main loop:

<br /> if ($quicklinks) : foreach ($quicklinks as $post) : start_wp();<br /> //HTML here to display the quicklinks in an unordered list (as per Matt's Asides)<br /> endforeach; else: _e('Sorry, no posts matched your criteria.');<br /> endif;<br />

Proactive application of technology to business

My interests include technology, personal knowledge management, social change