I'm trying to figure out a way to make a page (maybe a stub file?) where it shows a listing of all posts on a blog. In particular, I was thinking of structuring based off of the "most viewed" code below:
<?php
$TOPART = new ItemList($blog, array(), '', '', -1, '', array(),
'', 'DESC', 'views', 200);
echo "<ul>";
while ($TOPART_ITEM = $TOPART->get_item()) {
echo "<li><a href=\"", $TOPART_ITEM->permanent_url();
echo "\">", $TOPART_ITEM->title('','',false), "</a>";
echo "&npsp;","(",$TOPART_ITEM->views('','',false),")","&npsp;";
}
echo "</ul>";
?>
Any thoughts?
Assuming 1.8.1 (and totally off the top of my head) :-
¥