Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Thumbnails not showing

  • Resolved janvankuijk

    (@janvankuijk)


    On our site we had nice thumbnails, but now it’s a list.
    We changed the settings, but although it stays a list.

    Who can help us?

    Jan

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Michael Nelson

    (@mnelson4)

    Hi @janvankuijk, sorry you’ve been having trouble getting it to look the way you want.
    It sounds like you have YARPP set to use the “List” template instead of the “Thumbnails” template.
    To change which template is in use, go to the WordPress Admin dashboard, then under “Settings” choose “YARPP”. Look in the “Automatic Display Options” and click the “Thumbnails” (here’s a screenshot) button and save.

    Does that help?

    If you’ve already done that, or it doesn’t help, could you please send us the YARPP debug info? Here’s how:
    To send us YARPP debug info,
    1. From WordPress admin dashboard, under “Settings” click “YARPP”
    2. Click “Help” in the top-right corner
    3. Click “Optional Data Collection” tab on the left
    4. Copy all the monospaced text
    Here’s a video: https://drive.google.com/uc?id=1Nw3IaXhs_7RTlUdzB5iTeBcymwcIJOby

    You can paste it in here (there’s nothing too sensitive, it’s mostly YARPP settings) or send it to us through our contact page.

    Thread Starter janvankuijk

    (@janvankuijk)

    Hi Micheal,

    Sorry for the delay, but here is what you asked:

    [versions] =>
    [yarpp] => 5.10.2
    [wp] => 5.5.3
    [php] => 7.4.7
    [mysql] => 10.2.16
    [yarpp] =>
    [settings] =>
    [threshold] => 1
    [limit] => 12
    [excerpt_length] => 10
    [recent] =>
    [rss_limit] => 3
    [rss_excerpt_length] => 10
    [past_only] =>
    [show_excerpt] =>
    [rss_show_excerpt] =>
    [template] => thumbnails
    [rss_template] =>
    [show_pass_post] =>
    [cross_relate] =>
    [rss_display] =>
    [rss_excerpt_display] => 1
    [promote_yarpp] =>
    [rss_promote_yarpp] =>
    [myisam_override] =>
    [weight] =>
    [tax] =>
    [wri_manual_relationships] => 1000
    [require_tax] =>
    [auto_display_archive] =>
    [auto_display_post_types] =>
    [cache_engine] => tables
    [changed_settings] => no_results|order|thumbnails_heading
    [cache_status] => 0.0081
    [stats] => 0:3
    [diagnostics] =>
    [myisam_posts] => InnoDB
    [fulltext_disabled] =>
    [fulltext_indices] => 1
    [hidden_metaboxes] =>
    [post_thumbnails] => 1
    [happy] =>
    [using_thumbnails] => 1
    [generate_thumbnails] =>
    [stats] =>
    [counts] =>
    [post] => 54
    [page] => 18
    [attachment] => 0
    [elementor_library] => 6
    [product] => 56
    [verhalen] => 5
    [web-story] => 0
    [br_minmax_limitation] => 2
    [astra-advanced-hook] => 1
    [jet-smart-filters] => 6
    [terms] =>
    [category] => 1
    [post_tag] => 5
    [post_format] => 0
    [product_cat] => 8
    [product_tag] => 59
    [product_shipping_class] => 0
    [berocket_taxonomy_data] => 1
    [wri_category] => 2
    [wri_manual_relationships] => 156
    [comments] =>
    [moderated] => 0
    [approved] => 0
    [total] => 0
    [posts] => 0
    [users] => 33
    [locale] => nl
    [url] => https://victorvinum.nl
    [plugins] =>
    [active] => ajax-search-lite/ajax-search-lite.php|akeebabackupwp/akeebabackupwp.php|amp/amp.php|astra-addon/astra-addon.php|cache-enabler/cache-enabler.php|classic-editor/classic-editor.php|custom-post-type-ui/custom-post-type-ui.php|duplicate-page/duplicatepage.php|elementor-pro/elementor-pro.php|elementor/elementor.php|envato-elements/envato-elements.php|gettext-override-translations/gettextoverridetranslations.php|jet-smart-filters/jet-smart-filters.php|kadence-woocommerce-email-designer/kadence-woocommerce-email-designer.php|mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php|post-type-switcher/post-type-switcher.php|really-simple-ssl/rlrsssl-really-simple-ssl.php|search-widget-post-types-for-elementor/plugin.php|seo-by-rank-math/rank-math.php|shortpixel-image-optimiser/wp-shortpixel.php|ultimate-elementor/ultimate-elementor.php|wc-hide-shipping-methods/hide-shipping-free-shipping.php|web-stories/web-stories.php|woo-checkout-field-editor-pro/checkout-form-designer.php|woo-discount-rules-pro/woo-discount-rules-pro.php|woo-discount-rules/woo-discount-rules.php|woocommerce-minmax-quantity/woocommerce-minmax-quantity.php|woocommerce-myparcel/woocommerce-myparcel.php|woocommerce/woocommerce.php|woolentor-addons/woolentor_addons_elementor.php|wp-database-backup/wp-database-backup.php|wp-fastest-cache/wpFastestCache.php|wp-mail-smtp/wp_mail_smtp.php|wp-media-folder/wp-media-folder.php|wp-related-items-pro/wri-pro.php|wp-statistics/wp-statistics.php|yet-another-related-posts-plugin/yarpp.php|yoursites/yoursites.php
    [sitewide] =>
    [pools] =>

    Thread Starter janvankuijk

    (@janvankuijk)

    By the way: all the wheels are keep on running 🙁

    Thread Starter janvankuijk

    (@janvankuijk)

    Hi,

    Will you please help me?
    This is indeed what’s happening:
    It sounds like you have YARPP set to use the “List” template instead of the “Thumbnails” template.

    But how to change?

    Jan

    Plugin Author Michael Nelson

    (@mnelson4)

    Hi @janvankuijk, sorry I missed your replies from 2 weeks ago. It looks like your settings are set to show thumbnails correctly, but are somehow getting ignored (your settings also say to show 12 related posts but the site is only showing 3.)
    I did notice that, extra strangely, there are some settings in there that aren’t from YARPP, but from WRI plugin. This is the first I’ve heard of WRI, but it sounds like an alternative to YARPP which strangely also piggybacks off it. It would be good to rule out that they’re not the cause of this error by, at least temporarily, deactivating it.
    What do you think of that? If you so try deactivating that other plugin, does YARPP work as expected?

    Thread Starter janvankuijk

    (@janvankuijk)

    Michael,

    When I disable WRI then all the related items disappear.
    We bought WRI because it’s so easy toi connect WooCommerce products with post and vice versa!

    Jan

    Thread Starter janvankuijk

    (@janvankuijk)

    Wow.

    After I send the mail to you I enabled WRI again and guess what ….. it works.
    Except the images are in a bad quality.

    https://victorvinum.nl/product/hofling-gossenheim-silvaner-trocken-2018/

    Jan

    Plugin Author Michael Nelson

    (@mnelson4)

    Ah ok thanks for the update @janvankuijk.
    Ya WRI does sound like it adds a few features we’ve been considering. I’ve tried to get its free version to work on my test site for a few minutes now and so far haven’t had much luck. But it looks like WRI’s settings are meant to mostly override YARPP’s. Eg, in their admin page, you can configure YARPP to use a list or thumbnails for each post type. See screenshot. I suspect you activated WRI but it’s configured to use the “list” instead of “thumbnails.”
    I’d suggest you try reactivating WRI, make sure that template setting (see screenshot I mentioned above) is set to “thumbnails”, and if it’s not working right to get in touch with WRI pro support. I expect they would better know how WRI’s settings override YARPP’s.
    If you decide to not use WRI, and just YARPP, we can continue the discussion on how to improve YARPP’s thumbnail quality.
    Does that sound good?

    Thread Starter janvankuijk

    (@janvankuijk)

    Hi Michael,

    The main problem is that the guy from WRI don’t answer anymore 🙁

    Question: is is with your plugin poible to connect one wine to more recipes or vice versa? So could it be posible to use only your plugin? In one or the other way?

    Will you help us with that?

    Jan

    Thread Starter janvankuijk

    (@janvankuijk)

    Hi Michael,

    Will you please answer?

    Jan

    Plugin Author Michael Nelson

    (@mnelson4)

    Hi @janvankuijk sorry somehow I missed your reply from a week ago. Ya that’s disappointing that WRI isn’t responding anymore (especially if its a paid plugin).

    YARPP doesn’t yet support specifying exactly which related posts to use, it only automatically calculates them.

    You can probably still use YARPP with a bit of custom coding.

    You can use the same category (or tag or custom taxonomy) on both a wine and a recipe, then instruct YARPP to mainly consider that category (or tag or custom taxonomy).
    Then you’ll want to add some code to your theme’s wine template (here’s WordPress’ documentation on how to figure out which file that is in your theme) to instruct it to only show related recipes (instead of related posts, wines, recipes, etc).
    Something like this would be added to the file:

    
    yarpp_related(array('post_type' => ['recipe']));
    

    If you haven’t done much PHP much that will probably be a bit daunting and probably deserves hiring a developer.

    Does that make sense?

    Thread Starter janvankuijk

    (@janvankuijk)

    Yesss!
    I was thinking about the same. So that can be the way.

    One question for a little bit help. I’m not a developer, but knows a guy in India for this, but ….. is it possible to add your related items somehow in Elementor Pro (the posts-template and the products-template)?

    Jan

    Plugin Author Michael Nelson

    (@mnelson4)

    Oh ok cool. Hmmm I’m a bit rusty on my Elementor Pro (only used the free version once) but it certainly should be. You just need to be able to tell Elementor what custom PHP to use and then yes Elementor could show the related posts. If Elementor doesn’t let you add PHP directly, you can create a custom shortcode and add that to Elementor (YARPP has a shortcode but it wouldn’t yet let you specify what post types to show.)

    One downside to using yarpp_related(array('post_type' => ['recipe'])); in a template is that it doesn’t use YARPP’s caching. This means it will take about 0.1-0.2 seconds to calculate related posts everytime someone visits a page using that code snippet. That’s pretty slow for high traffic sites; although on low-traffic sites visitors will barely notice it. I’m sorry we don’t have a better solution for that yet.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.