• Resolved colinsp

    (@colinsp)


    The url is to a custom post type of website types, this is disallowed in the settings and yet it still appears on the pages. WP 5.7 YARPP 5.10.2

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Michael Nelson

    (@mnelson4)

    Hi @colinsp, sorry YARPP isn’t working as expected. I just double-checked and the “disallow by category” feature is still working in my setup. So there’s something specific to your setup that’s causing it to not work.

    Could you please send me the URL of a site that’s related to that “website type” post?

    Also, could you please copy-and-paste the YARPP debug info into this thread by

    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`

    Hopefully that will give us a clue what’s going wrong.

    Thread Starter colinsp

    (@colinsp)

    Thanks the link to one of the affected pages is in my original post. I have edited YARPP to say Related Content not the default. This is the info you requested

    [versions] => 
            [yarpp] => 5.10.2
            [wp] => 5.6.3
            [php] => 7.2.34
            [mysql] => 10.3.28
    [yarpp] => 
            [settings] => 
                    [threshold] => 6
                    [limit] => 4
                    [excerpt_length] => 10
                    [recent] => 
                    [rss_limit] => 3
                    [rss_excerpt_length] => 10
                    [past_only] => 
                    [show_excerpt] => 
                    [rss_show_excerpt] => 
                    [template] => 
                    [rss_template] => 
                    [show_pass_post] => 
                    [cross_relate] => 1
                    [rss_display] => 
                    [rss_excerpt_display] => 1
                    [promote_yarpp] => 
                    [rss_promote_yarpp] => 
                    [myisam_override] => 
                    [weight] => 
                            [title] => 1
                            [body] => 1
                            [tax] => 
                                    [category] => 1
                                    [post_tag] => 1
                                    [search_term] => 1
                                    [topic] => 1
                    [require_tax] => 
                    [auto_display_archive] => 
                    [auto_display_post_types] => 
            [cache_engine] => tables
            [changed_settings] => no_results|exclude|before_related
            [cache_status] => 0.8946
            [stats] => 0:2|1:5|2:7|3:5|4:568
    [diagnostics] => 
            [myisam_posts] => 1
            [fulltext_disabled] => 
            [fulltext_indices] => 1
            [hidden_metaboxes] => 
            [post_thumbnails] => 
            [happy] => 1
            [using_thumbnails] => 
            [generate_thumbnails] => 
    [stats] => 
            [counts] => 
                    [post] => 0
                    [page] => 23
                    [attachment] => 0
                    [glossary] => 70
                    [code_snippet] => 60
                    [download] => 232
                    [kb_article] => 204
                    [member_websites] => 45
                    [link] => 135
            [terms] => 
                    [category] => 1
                    [post_tag] => 0
                    [post_format] => 0
                    [glossary-cat] => 0
                    [download_type] => 18
                    [fh_version] => 4
                    [link_type] => 13
                    [search_term] => 240
                    [skill_level] => 3
                    [snippet_category] => 11
                    [topic] => 56
                    [website_type] => 5
            [comments] => 
                    [moderated] => 0
                    [approved] => 0
                    [total] => 0
                    [posts] => 0
            [users] => 16
    [locale] => en-GB
    [url] => https://fhug.org.uk/kb
    [plugins] => 
            [active] => adminimize/adminimize.php|alligator-popup/alligator-popup.php|better-search-replace/better-search-replace.php|bnfw/bnfw.php|caldera-forms/caldera-core.php|capability-manager-enhanced/capsman-enhanced.php|child-theme-configurator/child-theme-configurator.php|classic-editor/classic-editor.php|cleantalk-spam-protect/cleantalk.php|cmp-coming-soon-maintenance/niteo-cmp.php|code-snippets/code-snippets.php|enlighter/Enlighter.php|external-image-replace/external-image-replace.php|fhugkb/FHUGKB plugin.php|find-posts-using-attachment/find-posts-using-attachment.php|fixed-toc/fixed-toc.php|genesis-columns-advanced/genesis-columns-advanced.php|glossary-by-codeat-premium/glossary.php|iframe/iframe.php|lightweight-accordion/lightweight-accordion.php|list-custom-taxonomy-widget/list-custom-taxonomy-widget.php|litespeed-cache/litespeed-cache.php|pdf-embedder/pdf_embedder.php|pdfjs-viewer-shortcode/pdfjs-viewer.php|pods-caldera-forms-master/pods-caldera-forms.php|pods/init.php|required-taxonomies/index.php|revisionary/revisionary.php|tinymce-advanced/tinymce-advanced.php|widget-context/widget-context.php|wp-dashboard-notes/wp-dashboard-notes.php|wp-external-links/wp-external-links.php|wp-extra-file-types/wp-extra-file-types.php|wp-search-with-algolia/algolia.php|wp-smushit/wp-smush.php|wpfront-scroll-top/wpfront-scroll-top.php|yet-another-related-posts-plugin/yarpp.php
            [sitewide] => 
    [pools] => 

    Sorry for the delay in replying I didn’t get a notification email.

    Thread Starter colinsp

    (@colinsp)

    Any more thoughts on this please?

    Plugin Support Michael Nelson

    (@mnelson4)

    hi @colinsp, thanks the debug info was helpful. I think I see the issue. You’re using the YARPP widget to add the related posts which means it will appear everywhere on your site that widget area appears.
    The easiest way to have YARPP’s related content to only be displayed on specific post types is from the YARPP settings page, in the “Automatic Display Options” area, beside “Automatically Display Related Content on:”, and check all the post types you want it to appear for. Eg https://i.imgur.com/Q9GASIK.png

    Does that make sense?

    Plugin Support Michael Nelson

    (@mnelson4)

    I think this issue is resolved. If not please feel free to reopen and we can continue debugging

    Plugin Author YARPP

    (@jeffparker)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue or re-open this one!

    Thread Starter colinsp

    (@colinsp)

    I didn’t get notified of your reply so have only just seen this. I am currently trying to view the screenshot that you linked without success. I will try on a different PC to see what you are suggesting so at the moment I am not sure that this is actually resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Related posts ignoring exclude’ is closed to new replies.