wordpress, match keywords in content to other posts in the same website
<?php $content = 'this is the content'; // get the keywords $keywords = get_keywords($content); // get related posts $related_posts = get_related_posts($keywords); // echo the title foreach($related_posts as $post) { echo $post->title; }