Support » Plugin: Infographic Embedder » Support for Custom Post Type

  • Resolved WPSpeak

    (@devplus)


    Hi,

    I believe the plugin currently does not support custom post type. Also, once you’ve add the support for custom post type, it’d great if in the settings page we can choose which post type we want to enable the infographic embedder. Let say I’ve the normal post type, gallery post type and image post type, I’ll be able to choose which post type the infographic embedder will be enabled (of course, in this case the embedder should only work for post and/or gallery post type(s)

    Thanks

    http://wordpress.org/extend/plugins/infographic-embedder/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Cliff Seal

    (@cliffseal)

    I’m sorry I missed this post (and I’ve updated my notifications to make sure I don’t in the future).

    I’ll look into this and see what I can do! Shouldn’t be difficult.

    Thanks for your feedback!

    Plugin Author Cliff Seal

    (@cliffseal)

    I wanted to follow up with a quick fix while I work on an update.

    You can make an edit to the infographic-embedder.php file to allow for another post type, such as pages. For you, on line 39, change the infographic_embedder_add_post_meta_boxes function to this: https://gist.github.com/logoscreative/5346795

    Here’s the full file contents as well: https://gist.github.com/logoscreative/5346810

    You can change the string ‘page’ to your custom post type, and the meta box should show up. Just the same, you can delete the add_meta_box call for ‘post’ if you don’t want it to show up on posts.

    Let me know if you have any questions, and I’ll be happy to help!

    WPSpeak

    (@devplus)

    Tried it and work. Thanks!

    I’d great if you can add a filter to add support to custom post type. Just a suggestion 😀

    Plugin Author Cliff Seal

    (@cliffseal)

    Definitely—rest assured it’s in the works! Glad you’re off and running for now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Support for Custom Post Type’ is closed to new replies.