WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bondigor69
    Member
    Posted 6 months 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 6 months 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 6 months 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>

Reply

You must log in to post.

About this Plugin

About this Topic