Support » Plugin: Polldaddy Polls & Ratings » Polls and custom post types

  • vpalazis


    I use custom post types and I want to have a ‘poll’ post type for polls. Right now the add poll button appears for all post types. Is there a way to deactivate the add poll button for the other post types (e.g. post, page)?
    Thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Author Donncha O Caoimh


    You could create a plugin that removes the ‘media_buttons’ function from the media_buttons action/hook when a post of the wrong type is edited. Look in polldaddy.php for the particular function as it’s in the WP_Polldaddy class.

Viewing 1 replies (of 1 total)
  • The topic ‘Polls and custom post types’ is closed to new replies.