WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was looking at http://wordpress.org/extend/plugins/web-ninja-auto-tagging-system/ and unfortunately, it wont work on custom post types.

Can anyone suggest (with what changes are needed) to have this work for custom post types?

share|improve this question
on lines 74 & 91 of the plugin it queries the database to get all the posts of type 'post' perhaps if you try with a registered custom post type, it might work. Would need a lot of testing! – Cristian Jan 28 '12 at 8:51

For a quick hack.

@ lines 74 and 91 of the plugin its making a SQL request where it's limiting the results to posts only.

WHERE post_status='publish' AND post_type='post'

So, if you change that to include your custom postypes it should pick them up.

Or simply remove that SQL query and run a standard WP_Query query to return your posts in question.

share|improve this answer
Thanks - I'll try it out...if anyone has another plugin to suggest or idea...always much appreciated! – BentCircle Jan 29 '12 at 2:19
hey noponies, I tried doing that but nothing changed...maybe I have the wrong custom post type...anyone else have any other ideas? – BentCircle Mar 10 '12 at 16:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.