/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function create_theme_taxonomy() { 'hierarchical' => TRUE, 'label' => 'Villes - Activités', 'singular_label' => 'Ville - Activités', 'public' => TRUE, 'show_ui' => TRUE, 'show_tagcloud' => FALSE, 'rewrite' => FALSE )); 'hierarchical' => TRUE, 'label' => 'Villes - Restaurants', 'singular_label' => 'Ville - Restaurants', 'public' => TRUE, 'show_ui' => TRUE, 'show_tagcloud' => FALSE, 'rewrite' => FALSE )); 'hierarchical' => TRUE, 'label' => 'Villes', 'singular_label' => 'Ville', 'public' => TRUE, 'show_ui' => TRUE, 'show_tagcloud' => FALSE, 'rewrite' => FALSE )); } add_action( 'init', 'create_theme_taxonomy', 0 );
Comments
