• I would like to turn off automatic display of YARPP and move the display code into my Thesis theme custom_functions.

    I tried to paste in a generic example from the included templates.

    <h3>Related Posts</h3>
    <?php if ($related_query->have_posts()):?>
    <ol>
    	<?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
    	<li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
    	<?php endwhile; ?>
    </ol>
    <?php else: ?>
    <p>No related posts.</p>
    <?php endif; ?>

    This throws a bunch of errors.

    related_posts() works fine but I would like to remove the weighting score and perform additional formatting.

    Is there something simpler that I can use like:

    related_posts(no weighting numbers, different <li>)

    I can’t seem to find the definitive guide that explains how to create the code to do this.

    Great plug-in otherwise, works like a charm.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Adding YARPP to Thesis Theme’ is closed to new replies.