*/
function posts_list () {
$output='<ul>’;
$posts = get_posts(‘numberposts=-1’);
foreach($posts as $post){
$permalink = get_permalink( $post->ID );
$output.= ‘<li>’ . ‘<a href=”‘ . $permalink . ‘”>’ . $post->post_title . ‘</a></li>’;
}
$output.='</ul>’;
return $output;