Support » Plugin: YARPP - Yet Another Related Posts Plugin » Problem with the Match Threshold

  • Resolved ildomandatore


    The Match Threshold works, but I have two categories that don’t work well with your instrument;
    – Game News requires Match Threshold to be 2.
    – Games requires Match Threshold to be 3.

    I currently have the value at 3, but it is not good for my situation.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author yarpp


    Hi @ildomandatore,

    You can use either the YARPP Shortcode or YARPP Function() to apply a custom Match Threshold for each category.

    From the YARPP Function() documentation:

        // The threshold which must be met by the "match score" to be considered related
        'threshold' => 2,

    Do let us know if this works for you.

    • This reply was modified 1 month ago by yarpp.
    Thread Starter ildomandatore


    I’m confused. What I should do?

    Plugin Support aslamdoctor


    If you are using shortcode in the post content, add a threshold option like this

    [yarpp threshold="2"]

    And if you are using the YARPP function inside the theme’s template file, use the threshold parameter like this.

        'threshold' => 2
    Thread Starter ildomandatore


    I use YARPP’s automatic insertion. I guess I’ll have to use the shortcode and remove the auto insert.

    Plugin Author yarpp


    Hi @ildomandatore That’s right. If you would like to customize settings on a per placement basis, you’d need to use the shortcode or YARPP function(). You can’t use Auto Insertion.

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