WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. vpalazis
    Member
    Posted 2 months 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

    https://wordpress.org/plugins/polldaddy/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 1 month 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.