<div class="related">
<h4><?php _e('相关'); ?></h4>
<?php $this->related(5)->to($relatedPosts); ?>
<ul>
<?php while ($relatedPosts->next()): ?>
<li><a href="<?php $relatedPosts->permalink(); ?>" title="<?php $relatedPosts->title(); ?>"><?php $relatedPosts->title(); ?></a></li>
<?php endwhile; ?>
</ul>
</div>
<style>
.related ul {
    margin: auto;
}
.related h4::before {
    margin-right: 6px;
    content: "#";
    color: #1abc9c;
}
</style>