title: Adding custom taxonomies to a custom post, how?
body: <p>I'm having some problems adding custom taxonomies to my custom post. I've already created the custom post like this:</p>
  
  <pre><code>add_action( 'init', 'create_post_type' );
  function create_post_type() {
  register_post_type( 'profiel_pagina',
      array(
          'labels' =&gt; array(
              'name' =&gt; __( 'Profiel pagina' ),
              'singular_name' =&gt; __( 'Profiel pagina' )
          ),
      'public' =&gt; true,
      'has_archive' =&gt; true,
      'supports'   =&gt; array('title', 'editor', 'thumbnail')
      )
  );
  </code></pre>
  
  <p>And the custom taxonomies like this:</p>
  
  <pre><code>function create_my_taxonomies() {
  register_taxonomy('vakgebied', 'post', array(
  'hierarchical' =&gt; false, 'label' =&gt; 'Vakgebied',
  'query_var' =&gt; true, 'rewrite' =&gt; true));
  }register_taxonomy('specialisatie', 'post', array(
  'hierarchical' =&gt; false, 'label' =&gt; 'Specialisatie',
  'query_var' =&gt; true, 'rewrite' =&gt; true));
   }
  add_action('init', 'create_my_taxonomies', 0);
  </code></pre>
  
  <p>This is all fine but how can I connect these two with each other? Using 'taxonomies' => array('post-tag') doesn't work. Also using 'post' when adding the custom taxonomies isn't the right way to do it according to the codex but how should I do it then?</p>
  
  <p>Any help is much appreciated.</p>