Polldaddy Polls & Ratings
Polls and custom post types (2 posts)

  1. vpalazis
    Posted 2 years ago #

    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


  2. Donncha O Caoimh
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polldaddy Polls & Ratings
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.