WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Microkid's Related Posts] Multiple Custom post types

[Plugin: Microkid's Related Posts] Multiple Custom post types

Viewing 1 replies (of 1 total)
  • I know that this is probably a day late and a dollar short, but the plugin developer was assuming the post_type would be a number and didn’t format it correctly. If you do a search on /plugins/microkids-related-posts/microkids-related-posts.php for this …

    $query .= " AND wp.post_type IN (".implode( ",", $post_type ).") ";

    and replace with …

    $query .= " AND wp.post_type IN ('".implode( "','", $post_type )."') ";

    it should work.

    Note: There are multiple occurrences of this in the code.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Microkid's Related Posts] Multiple Custom post types’ is closed to new replies.