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?

  • 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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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