WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
thumbnail template file is different from thumbnail display (7 posts)

  1. Exoskeletor
    Member
    Posted 4 months ago #

    im trying to modify yarp layout. the thumbnail layout that has the YARPP it self is quite good for me, it only needs some minor customization. so i go to Custom to change it and i select yarpp-template-thumbnail.php. but this template is not the same as Thumbnail option from display option. how i can find a template.php file that is for the Thumbnail option?

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

  2. Exoskeletor
    Member
    Posted 4 months ago #

    also how i can choose a custom thumbnail width and height size?

  3. Exoskeletor
    Member
    Posted 4 months ago #

    Can this plugin somehow probide as only with a list of the related post_id so we can customize it as we want it?

  4. jeffparker
    Member
    Plugin Author

    Posted 4 months ago #

    What are you trying to customize with the thumbnails?

    If it's dimension, please see the FAQ or this post. Each discusses how to change the dimensions of the thumbnails or how to change the title font size or spacing.

  5. Exoskeletor
    Member
    Posted 3 months ago #

    i want to add something else to the yarpp style, i want to also display the category of the post, is there any way to do that? does yarp have a file responsible for the layout that i can easily edit without risking to be break on a future update? i would like to do something like that <div>category_title<div><div>title

  6. Exoskeletor
    Member
    Posted 3 months ago #

    ok i have manage to to modify the templates.
    i cant undertand how the thumbnails work. i have use add_image_size('yarpp-thumbnail', '158px', '130px', true); but yarpp uses the default thumbnail.
    I have recreate thumbnails with the suggested plugin on FAQ but didnt change anything. i have also try to use the plugin a user suggest but it doesnt work on my site, it stuck on 0%

  7. Exoskeletor
    Member
    Posted 3 months ago #

    i have manage to diplay the posts the way i want it with the help of another plugin, display posts
    i just take the ids from the yarpp template and use them with something like that:
    [display-posts id="'.$id.'" image_size="yarpp-thumbnail" wrapper="div"]
    Is this a bad approach? it will slow down my site or anything?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.