Psychic Search Breaks K2

I’m using K2 with Psychic Search, and my blog looked a bit weird for users coming from search engines. The tag specified a class that was completely messed up. It showed Related Posts along with some keywords. I was confused, thinking it was caused by one of the Related Posts plugins I had installed.

Nope. Actually, Psychic Search by MaxBlogPress actually has related posts functionality built-in. And it’ll work even if you haven’t registered or activated the plugin yet. I was thinking of simply not using this feature of PS, but it shows some posts that are, in my opinion, more relevant than the ones returned by other related posts plugins.

The trick is to select this option in the plugin’s settings page:

Don’t Show Related Posts Automatically, I’ll Use the theme funciton or widget

Then, add this wherever you want Psychic Search’s Related Posts to appear:

<?php ps_related_posts(5, ‘<li>’, ‘</li>’, ‘Related Posts:<ul>’, ‘</ul>’); ?>

That’s it!

Leave a Reply