WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] YARPP not show full description (8 posts)

  1. usualhouse
    Member
    Posted 1 year ago #

    Good day
    I use YARPP 4.0.5. and I use the option "Thumbnails" to display related posts. I like the plugin displays the related posts, but I want to show the full title of the post under each thumb. And I've no any idea how I can fix it. There is no options regarding it.
    Here is how it looks at my site:
    http://www.usualhouse.com/?p=3774

    I know that this problem can be solved by custom templates, but I have no knowledge of php. I tried to find such template, but without success.
    Please, help.
    Thanks

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    You can do this with CSS. You'll want to override the values for .yarpp-thumbnail and .yarpp-thumbnail-title

  3. AFogel
    Member
    Posted 1 year ago #

    Hi. I'm having a similar issue. I'm not very experienced with editing CSS. Can you be more specific as to what lines of code (at least as an example) will allow me to override the values for .yarpp-thumbnail and .yarpp-thumbnail-title?

    Here's one of my pages with the problem showing:
    http://thedessertstomach.com/2013/04/02/linzer-heart-sandwich-cookies/

    Thanks!

  4. signageinfo
    Member
    Posted 1 year ago #

    Hell All

    I hope these steps will help u to achieve what you are looking for. And you can visit my site and click any one of the post to verify.

    Login to your Dashboard
    Mouse over plugin Menu and click Editor.
    Select the Yet Another Related Post plugin from the drop down menu and select.
    Look for the file name: styles-thumbnails.php
    and edit the following value. (I have attached the screen shot of the process)

    http://signageinfo.com/YARP.jpg

    line 17: change height value from 50 to 70

    line 45: change max-height: 2.8em; to 4.0em

    Change the value according to your requirement.

  5. AFogel
    Member
    Posted 1 year ago #

    That did the trick. Thanks signageinfo!

  6. usualhouse
    Member
    Posted 1 year ago #

    Hello, signageinfo!
    It was very easy. Thank you very much and all best to you!

  7. usualhouse
    Member
    Posted 1 year ago #

    Resolved

  8. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @signageinfo and others: Please do not modify the code directly in YARPP! Any changes you make there will be overridden when you upgrade YARPP in the future. You want to add a CSS style declaration for .yarpp-thumbnail-title in your own theme's CSS.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.