This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2016-09-28 21:41:25 +02:00

15 lines
348 B
PHP

<?php
if (have_posts()) {
$output .= '<ol>';
while (have_posts()) {
the_post();
$output .= '<li><a href="'.get_permalink().'" rel="bookmark">'.get_the_title().'</a>';
// $output .= ' ('.round(get_the_score(),3).')';
$output .= '</li>';
}
$output .= '</ol>';
} else {
$output .= '<p><em>'.__('No related posts.','yarpp').'</em></p>';
}