Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi betadog!

    To make it work with your custom post types, do this:

    /wp-content/plugins/and-the-winner-is/atwi.php -> line 98

    Change this:

    public function AddMetaBox() {
        add_meta_box(ATWI_DOMAIN, ATWI, array(&$this, 'ContestMetaBox'), 'post', 'side');
    }

    For this:

    public function AddMetaBox() {
        add_meta_box(ATWI_DOMAIN, ATWI, array(&$this, 'ContestMetaBox'), 'post', 'side');
        add_meta_box(ATWI_DOMAIN, ATWI, array(&$this, 'ContestMetaBox'), 'slug_of_your_custom_post_type', 'side');
      }

    Works perfectly ??

    Thread Starter betadog

    (@betadog)

    Thank you very much, you’ve made my day!

    You’re welcome! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: And The Winner Is…] Custom post types?’ is closed to new replies.