Line | |
---|
1 | <?php /*
|
---|
2 | Example template
|
---|
3 | Author: mitcho (Michael Yoshitaka Erlewine)
|
---|
4 | */
|
---|
5 | ?><h3><?php _e("Related Posts","fusion"); ?></h3>
|
---|
6 | <?php if ($related_query->have_posts()):?>
|
---|
7 | <ol>
|
---|
8 | <?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
|
---|
9 | <li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a><!-- (<?php the_score(); ?>)--></li>
|
---|
10 | <?php endwhile; ?>
|
---|
11 | </ol>
|
---|
12 | <?php else: ?>
|
---|
13 | <p><?php _e("No related posts.","fusion"); ?></p>
|
---|
14 | <?php endif; ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.