• Resolved ildomandatore

    (@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

    (@jeffparker)

    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 2 years, 9 months ago by YARPP.
    Thread Starter ildomandatore

    (@ildomandatore)

    I’m confused. What I should do?

    Plugin Support Aslam Doctor

    (@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.

    yarpp_related(array(
        'threshold' => 2
    ));
    Thread Starter ildomandatore

    (@ildomandatore)

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

    Plugin Author YARPP

    (@jeffparker)

    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)
  • The topic ‘Problem with the Match Threshold’ is closed to new replies.