我离开了?????我需要答案的地方。
<?php
global $post;
$the_post_ID = $post->ID;
$n = get_posts();
?>
<?php foreach ( $n as $post ) : ?>
<nav id="postNav">
<ul>
<li<?php if (?????) echo \' class="current"\'; ?>>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( \'Permalink to %s\', \'twentyten`enter code here`\' ), the_title_attribute( \'echo=0\' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</li></ul>
<?php endforeach; ?>