• Hey folks! This is a long shot but we’re starting to play around with custom post types and noticed that it looks like we no longer receive comments via Twitter after the change. Any idea if there are portions of the code that would need to be updated to not refer specifically to a “post”? We are not using any standard posts on the site in question, just one specific custom post type, so I don’t necessarily need the plugin to handle both simultaneously.

    I scanned over the code and it seems all the calls are on post ids which should pull in the custom post types as well, but not sure where it breaks.

    http://wordpress.org/extend/plugins/twitter-mentions-as-comments/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Balter

    (@benbalter)

    It would be line 181 of tmac.php. You’d simply need to add &post_type={your post type} (WordPress defaults to posts here). If your still interested, I can try to add a filter in the next release so that you can modify the behavior without future updates breaking things. Let me know.

    Hello !

    Great plugin I just discovered yesterday and successfully installed 🙂
    I would like to do the same : enable it with Custom Post Types (in addition to “regular” post type)

    Just to be sure :

    – I edit the file “twitter-mentions-as-comments/twitter-mentions-as-comments.php”
    – line 181 I have this : ” ‘comment_content’ => $tweet->text, “

    Can you tell me where to paste ” &post_type={your post type} ” ?

    Thank you again

    My travel blog

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Twitter Mentions as Comments] Support for custom post types?’ is closed to new replies.