• Resolved George

    (@giorgos93)


    Hi, I want to ask you, if it’s possible to place 2 different styles of yarpp in every post?

    What I mean is: I already have “Yarpp Thumbnails” at the end of every post: https://b.radikal.ru/b32/2105/8d/5a7a43744c47.jpg

    And now I want to add “Yarpp List” somewhere at the beginning of the posts. I know that I can add it manually by using a [yarpp] shortcode, but if I’ll put it, then the style will be same (“Yarpp Thumbnails”).

    So is it possible to make 2 different yarpp styles in every post?

    Thanks in advance for an answer!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author YARPP

    (@jeffparker)

    Hi @giorgos93 have you tried the YARPP Block? You can specify theme for each block placement.

    Thread Starter George

    (@giorgos93)

    No, I don’t use Gutenberg, I prefer classic editor, so I didn’t know about this feature. Thanks for advice though!

    Plugin Author YARPP

    (@jeffparker)

    @giorgos93 we will look into adding support for specifying a template in the shortcode!

    Thread Starter George

    (@giorgos93)

    This would be great, thanks!

    Plugin Author YARPP

    (@jeffparker)

    Hi @giorgos93

    The latest version of YARPP adds the ability to specify built-in (and custom) YARPP templates in the YARPP shortcode.

    You may use more than one YARPP shortcode in a given post or template and each can have a different template specified.

    For example:

    
    // where yarpp-template-simple.php is the file name of the custom YARPP template in your active theme folder:
    
    [yarpp template="yarpp-template-simple"]
    
    // built-in “List” template:
    
    [yarpp template="list"] 
    
    // built-in “Thumbnails” template:
    
    [yarpp template="thumbnails"]
    

    Hope you like the new feature!

    https://www.ads-software.com/plugins/yet-another-related-posts-plugin/#developers

    Thread Starter George

    (@giorgos93)

    Thank you very much for adding this feature!

    Plugin Author YARPP

    (@jeffparker)

    You’re very welcome!

    If you’re up for it, we would really appreciate a review of your experience with using YARPP:

    https://www.ads-software.com/support/plugin/yet-another-related-posts-plugin/reviews/

    Thread Starter George

    (@giorgos93)

    Hi again, I tried to add shortcode with a yarpp list, and it works. However, I faced 2 problems:

    1 – I have “yarpp thumbnails” at the end of each post and I have 6 of them. But I don’t want to have 6 posts in “yarpp list”, I only want 3. Is it possible in fututre to add a feature to set different amount of posts for each yarpp type?

    2 – When I choose “yarpp list”, each of my links in related list has this at the end: “(1)”. From what I understand, it’s a number of similarity coefficient. How can I remove it in yarpp list?

    Plugin Author YARPP

    (@jeffparker)

    1 – There isn’t a way yet with the shortcode. We’ve added it to the roadmap. It is possible with the YARPP Block today.

    2 – This is only visible to admins. It’s the relevancy score. If you sign out, those scores will no longer show to you.

    Plugin Author YARPP

    (@jeffparker)

    In the next release of YARPP, you will be able to specify the maximum number of posts to show, like so:

    
    [yarpp template="list" limit=3]
    
    Plugin Author YARPP

    (@jeffparker)

    @giorgos93 In the latest release of YARPP, YARPP shortcode now supports the “limit” argument to specify the maximum number of posts to show. For example:

    
    [yarpp template="list" limit=3]
    

    Enjoy!

    Thread Starter George

    (@giorgos93)

    That’s great, thank you very much!

    Now I hope, that one day you will add a responsive size for yarpp thumbnails on mobile devices, to make them fill all the blank area. I think, it will make your plugin perfect then ??

    Plugin Author YARPP

    (@jeffparker)

    Now I hope, that one day you will add a responsive size for yarpp thumbnails on mobile devices, to make them fill all the blank area. I think, it will make your plugin perfect then ??

    We are actively working on this and expect to release this month ??

    If you would like to preview/test the new responsive template, please reach out to jay at yarpp dot com.

    Thread Starter George

    (@giorgos93)

    Sure I will. I wrote you an email yesterday.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Is it possible to use different styles of yarpp in every post?’ is closed to new replies.