Te dejo el siguiente codigo por si en algun momento necesitas deshacerte del plugin
Código PHP:
Ver original<h3>Posts relacionados</h3>
<?php
$categories = get_the_category(get_the_ID() );
if ($categories) {
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
'category__in' => $category_ids,
'post__not_in' => array(get_the_ID
()), 'showposts'=>15, // Number of related posts that will be shown.
'caller_get_posts'=>1
);
$my_query = new wp_query($args);
if( $my_query->have_posts() ) {
echo '<ul>';
while ($my_query->have_posts()) {
$my_query->the_post();
?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
<?php
}
echo '</ul>';
}
}
wp_reset_query();
?>