• Hy haw can i make the taxonomies work,

    my site is https://www.cinema.trancelevel.com

    when i click on a taxonomy it show a 404 error..

    register_post_type('persoane', array(	'label' => 'Persoane','description' => '','public' => true,'show_ui' => true,'show_in_menu' => true,'capability_type' => 'post','hierarchical' => true,
    'rewrite' => array('slug' => ''),
    'query_var' => true,'has_archive' => true,
    'menu_position' => 5,'supports' => array('title','editor','custom-fields',),
    'labels' => array (
      'name' => 'Persoane',
      'singular_name' => 'Persoana',
      'menu_name' => 'Persoane',
      'add_new' => 'Adauga ',
      'add_new_item' => 'Adauga persoana',
      'edit' => 'Editeaza',
      'edit_item' => 'Editeaza persoana',
      'new_item' => 'Persoana noua',
      'view' => 'Vezi persoana',
      'view_item' => 'Vezi persoana',
      'search_items' => 'Cauta persoana',
      'not_found' => 'Nici o persoana ',
      'not_found_in_trash' => 'Nici o persoana nu a fost gasita',
      'parent' => 'Parent Persoana',
    ),) );
    
    register_taxonomy('persoane',array (
      0 => 'persoane',
    ),array( 'hierarchical' => true, 'label' => 'Categorie','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'Persoana') );

    [ Please do not bump, it’s not permitted here. ]

  • The topic ‘The taxonomies do not work…’ is closed to new replies.