• I’m making the base of wordpress posts using Automatic Featured Image Posts Plugin. I added some functionality to the plugin, like naming post title = image name.

    But some of the image names are very similar. I’m using YARPP to check if the the similarity score is over 20. If it is, should modify the title ($title = ‘!!’.$title; ).

    —-
    In the readme.txt I found yarpp_related() but it returns (html ready) related items, without the score.

    I tried to figure out which function could return the score of the most similar item (based only on title). Or a string containg the score. But, I feel lost in the oop of yarpp.

  • The topic ‘[Plugin YARPP] OOP function to return score of most related post.’ is closed to new replies.