WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
Display related posts in template (3 posts)

  1. bondigor69
    Member
    Posted 1 year ago #

    how can I combine this with yarpp

    <?php the_title(); ?>
    <a  href="<?php echo wp_get_shortlink(); ?>">
    	<?php the_post_thumbnail( '350xXXX' ); ?>
    </a>

    I want to show yarpp 3 posts like the code above in my template.
    Can I do it with
    <?php while ( have_posts() ) : the_post(); ?>

    If so how do I combine it

    thank you

    https://wordpress.org/plugins/yet-another-related-posts-plugin/

  2. jeffparker
    Member
    Plugin Author

    Posted 1 year ago #

    It would be helpful if you could provide a little more detail. Could you send a link, and help us know what you have now as well as what you're trying to achieve?

  3. bondigor69
    Member
    Posted 1 year ago #

    well I just want to add it as php
    with title(not linked)
    and my custom thumbnail size

    Kind like this

    <?php the_title(); ?>
    <a  href="<?php echo wp_get_shortlink(); ?>">
    	<?php the_post_thumbnail( '350xXXX' ); ?>
    </a>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic