You mean my shortcode? Sure, here’s a snippet of relavence:
$archive_query = new WP_Query($rgQueryParams);
$szResult = "";
$szResult .= "<ul style='list-style: none; margin-left: 0; padding-left: 6em; text-indent: -6em;'>\n";
while ($archive_query->have_posts() && $szCount)
{
$archive_query->the_post();
$szCount--;
$szResult .= "<li>" . get_the_date("Y-m-d") . " <a href=\"" . get_permalink() . "\" title=\"" . get_the_title() . "\">" . get_the_title() . "</a></li>\n";
}
$szResult .= "</ul>\n";
This is in the shortcode function, so there are no globals involved. The only thing I can think of is that perhaps I’m leaving some global state by not walking the full set of restults returned by WP_Query. (There’s a count to limit the length of what gets output.)