Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

robotrop on "function that returns score of most related post. (YARPP)"

$
0
0

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

But some of the image names are very similar. Curently, I'm manually using YARPP to check the similarity score. I want to do it semi-automatic, something like: if it's over 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 so lost in the yarpp code.


Viewing all articles
Browse latest Browse all 8245

Trending Articles