I use a custom post type and i put categories .Now i need a page for every category to show posts.
function codex_custom_init() {
$labels = array(
'name' => _x('Produits', 'post type general name'),
'singular_name' => _x('Produit', 'post type singular name'),
'add_new' => _x('Ajouter un Produit', 'Produit'),
'add_new_item' => __('Ajouter un Produit'),
'edit_item' => __('Modifier Le Produit'),
'new_item' => __('Nouveau Produit'),
'all_items' => __('Tous les Produits'),
'view_item' => __('Afficher Le Produit'),
'search_items' => __('Chercher un Produit'),
'not_found' => __('Pas de produits trouvé'),
'not_found_in_trash' => __('Pas de produits dans la corbeille'),
'parent_item_colon' => '',
'menu_name' => __('Produits')
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'show_in_menu' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'has_archive' => true,
'hierarchical' => false,
'menu_position' => null,
'taxonomies' => array('category', 'post_tag'),
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' )
);
register_post_type('Produits',$args);
what name should i give to my page?
Read more here: A page to list all posts of categories of a post type wordpress