Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coupe WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Comment ajouter des catégories et des identifiés pour les pages WordPress (méthode facile)

De nombreux propriétaires de sites trouvent qu’ils souhaiteraient pouvoir utiliser des catégories et des identifiants pour leurs pages, comme ils le font pour les publications de leur blog.

Nous sommes passés par là nous aussi. Au fur et à mesure que nous développions des sites plus complexes, nous nous sommes rendu compte de l’aide que nous pourrions apporter en regroupant et en libellant nos pages. C’est pourquoi nous avons creusé dans WordPress et trouvé une solution.

Dans ce guide, nous allons vous afficher comment ajouter des catégories et des identifiants à vos pages WordPress.

How to add categories and tags for WordPress pages

Pourquoi ajouter des catégories et des identifiés aux pages WordPress ?

L’ajout de catégories et d’identifiants à vos pages WordPress aide à les organiser et permet aux internautes de trouver plus facilement ce qu’ils cherchent.

Par exemple, si vous avez plusieurs pages de vente pour différents produits dans votre magasin WooCommerce, alors vous pouvez les regrouper sous une catégorie large et même des pages de catégorie enfant.

Vous pouvez faire de même pour les différentes pages de fonctionnalités de vos apps et logiciels. Par exemple, OptinMonster regroupe plusieurs pages de fonctionnalités dans la catégorie  » Fonctionnalités « .

OptinMonster feature pages example

Les catégories et les identifiants de page peuvent également être utiles pour l’optimisation des moteurs de recherche (SEO). Vous aiderez les moteurs de recherche à naviguer dans votre contenu et à comprendre la structure de votre site, ce qui facilitera l’indexation et le classement de vos pages.

Par défaut, les catégories et les identifiants sont des taxonomies WordPress limitées aux publications de votre blog. Donc, normalement, vous pouvez uniquement les utiliser pour les publications de WordPress. Mais en quelques étapes, vous pouvez également les appliquer à vos pages.

No categories or tags for pages

Dans ce tutoriel, nous allons vous afficher comment ajouter des catégories aux pages de votre site WordPress. Nous expliquerons également comment ajouter des identifiants aux pages WordPress.

Comment ajouter facilement des catégories et des identifiés aux pages de WordPress

La façon la plus conviviale pour les débutants de configurer les catégories et les identifiants WordPress pour vos pages est d’utiliser l’extension Pages with category and tag (Pages avec catégories et identifiants ). Il s’agit d’une extension WordPress gratuite qui fonctionne d’emblée sans configuration supplémentaire.

La première chose à faire est d’installer et d’activer l’extension. Pour plus de détails, veuillez consulter notre guide sur l’installation d’une extension WordPress.

Une fois activé, allez dans Pages  » Ajouter une nouvelle dans la zone d’administration de WordPress. Vous trouverez que les identifiés WordPress et les catégories de publication sont maintenant disponibles pour vos pages WordPress.

Categories and tags for pages

Ensuite, vous pouvez créer des catégories et des identifiants pour vos pages.

Pour ajouter une catégorie, rendez-vous dans la section Pages  » Catégories de votre Tableau de bord WordPress et saisissez le « Nom » et le« Slug » de la catégorie.

Add name and slug for new page category

Ensuite, vous pouvez défiler vers le bas et sélectionner une« catégorie parente » pour votre catégorie.

Une fois ces informations saisies/saisie, il vous suffit de cliquer sur le bouton « Ajouter une nouvelle catégorie ».

Choose parent category and add new category

Vous pouvez alors voir la catégorie que vous venez d’ajouter à vos pages.

Si vous souhaitez supprimer une catégorie spécifique, il vous suffit de cliquer sur la case à cocher située à côté et de sélectionner « Supprimer » dans le menu déroulant des actions groupées. Cliquez ensuite sur le bouton « Appliquer ».

View your page category

Ensuite, vous pouvez classer vos pages WordPress dans les catégories que vous venez de créer.

Pour commencer, il vous suffit de modifier ou de créer une nouvelle page. Dans l’éditeur de blocs, vous pouvez maintenant sélectionner le nom de la catégorie concernée dans la colonne latérale à votre droite.

Par exemple, nous avons créé une page de fonctionnalité et l’avons placée dans la catégorie « Fonctionnalités » dans le panneau latéral droit.

Select your category and enter tags

De même, vous pouvez utiliser des identifiants pour votre page WordPress dans le champ « Tags ». Si vous souhaitez ajouter plusieurs identifiants, il vous suffit de les séparer à l’aide d’une virgule.

Par exemple, vous pouvez ajouter des mots-clés et des phrases qui aident à décrire votre contenu. Dans notre cas, nous avons ajouté les termes  » intention de sortie  » et  » OptinMonster  » en tant qu’identifiants.

Après avoir sélectionné votre catégorie et ajouté des identifiants, il vous suffit de mettre à jour ou de publier votre page WordPress. Et c’est tout !

Pour plus de guides sur la façon de tirer le meilleur parti des catégories et des identifiants pour votre site WordPress, consultez les tutoriels suivants :

Nous espérons que cet article vous a aidé à ajouter des catégories de publication et des identifiants à vos pages WordPress. Vous pouvez également consulter notre article sur la création d’archives compactes sur WordPress et notre liste des meilleurs plugins WordPress SEO pour optimiser votre site.

Si vous avez aimé cet article, veuillez alors vous abonner à notre chaîne YouTube pour obtenir des tutoriels vidéo sur WordPress. Vous pouvez également nous trouver sur Twitter et Facebook.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, nous pouvons gagner une commission. Consultez comment WPBeginner est financé, pourquoi cela compte et comment vous pouvez nous soutenir. Voici notre processus éditorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

L'ultime WordPress Toolkit

Accédez GRATUITEMENT à notre boîte à outils - une collection de produits et de ressources liés à WordPress que tous les professionnels devraient avoir !

Reader Interactions

83 commentairesLaisser une réponse

  1. Waran

    I used the Pages with category and tag plug in to create categories and assigned to my pages. Then updated my permalinks to /%category%/%postname%/ but the url still showing the page slug only, category slug not showing.
    I read the comments by others, mostly talk about permalink to posts.
    is it possible to show the category in the permalink of a page? that is the only reason for me to categorise the pages.

    • WPBeginner Support

      By default pages do not have the option to add categories so it sounds like you have a plugin or tool that is adding categories to your pages.

      Administrateur

  2. Johan

    Hi, and thanks for valuable information. Does the use of this plugin mean that pages can have the same function as posts? For instance, can I make a portfolio grid containing pages instead of posts, or show several pages on a map instead of posts?

    If the answer is no, is there a way to create hierarchical structure in posts? Because that what I am aiming for, a website with posts or pages in a hierarchical structure (e.g. homepage/page-a/page-a1, homepage/page-b/page-b4 etc.) where all the pages can be displayed and filtered via tags or categories in both listings and maps.

    Much thankful for a reply!
    Kind regards

  3. Paul Wright

    Hi, I am very grateful for this information, however unfortunately when I installed and activated the plugin it completley disfigured my « all pages » view on the dashboard , the letters identifying the page titles ran vertically down the page

    thanks anyway

    • WPBeginner Support

      It sounds like you may have all possible fields showing on your all pages screen. If you use the screen options in the top-right of the screen you should be able to hide some information to prevent the letter scrolling on the page.

      Administrateur

  4. Abud

    Hi,
    Cant we make it without any plugins?

  5. Dinesh Kumar Takyar

    Your suggested Post Tags and Categories for Pages plugin is excellent. Thank you!

  6. Liesbeth

    Hello,

    On your recommendation we’ve been using this plugin. We love the features, but one thing is still bothering us. In the search results there are no categories showing. We use the Avada theme and would love to see categories in the results. Do you know how to fix it?

    • WPBeginner Support

      You would want to reach out to the support for your specific theme for including the categories in the display

      Administrateur

  7. Dee Torre

    Hi,
    The plugin you suggested has not been reviewed for over 1 year. Could you suggest a newer one.
    Tnks,
    Dee

  8. Drew Downz

    I’m pretty sure a « page » is not considered « post »

    • WPBeginner Support

      Correct, they are different post types.

      Administrateur

  9. Tarun soni

    I like to read your blogs because I found the solution for my query but I noticed that you suggest installing a plugin for the solution. is it possible for you to show the solution by sharing custom code, not by a plugin.

    • WPBeginner Support

      It depends on the issue, we do our best to add a method for using code instead of a plugin for those looking for that but not all issues are solved with a small amount of code. Plugins are also a collection of code so there’s not always a difference in the code we would show and the plugin we’re recommending.

      Administrateur

  10. Joe Youngblood

    Unfortunately you can no longer install this plugin from the repository as it hasn’t been updated in 2 years. Any other options?

  11. Martin Vernal Burrows Jr.

    Is there an advantage using pages over categories?

  12. HARISH NEMADE

    Woww..Thanks a Lot, Wpbeginner Team.

    • WPBeginner Support

      You’re welcome, glad our article was helpful :)

      Administrateur

  13. Evan Blass

    Hello,

    I’m interested to know if there’s a way to make pages act as categories for SEO purposes. For example, if I create a new category ABC on my domain.com it will have this link, domain.com/categories/ABC. However, if I create a page with the slug ABC, it will have this link, domain.com/ABC. However, since it is not a category, search engines might treat it as a static page.

    Is there a way I can convert the domain.com/ABC page to a category?

  14. Eleshia

    Hi there
    A very useful tip regarding an important subject.

    • WPBeginner Support

      Thank you, glad you found our content helpful :)

      Administrateur

  15. Vale

    Thank you for your post, so the pages still considered as static pages?
    If I create an « About » page and if I did not assign a category will continue to be static? And in the other hand make pages as post with content?

    • WPBeginner Support

      It should keep your pages as the static pages even if you add them to a category

      Administrateur

  16. Ismail Siraje Ittembe

    Wow nice post boss keep it up
    But This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    • WPBeginner Support

      Thank you for letting us know, we’ll be sure to take a look at alternatives should this plugin no longer work.

      Administrateur

  17. Carolyn

    Hi. I am having a problem with assigning a new category that (for reasons over which I have no control) was given the same category name but with a different slug, and I am supposed to ‘pull’ these objects to the new category. But because it has the same name, although a different slug, WP doesnt seem to differentiate and keeps slinging the files into the old category. It defaults to the original. If there were a global function, other than the categories plugin, so that I could select the files and reassign from one category to another, bcause when I try to do so, only the old one shows up (even though the new one clearly exists).

  18. Viswanathan

    Hi, i am using the events manager plugin which creates individual pages for each event created. The plugin settings give an option of showing events as pages or posts. However in both the cases, while creating the event it only gives an option of adding or selecting an ‘event category’ and not the ‘categories that i create for my blog posts or pages.

    Is there a plugin available so i can add my default post category to my events as well, so the events also show up in blog category archives?

  19. Ghislain Poirier

    And how do we add the categories to the pages?

    I have the category functions showing in the wordpress backend menu, but it is only a shortcut to the create new category section…

    It is still not allowing me to tell what page is in what category or am I missing something?

  20. Pranav Mohan

    This seems to assign pages to various categories, however, i am interested in finding out how to assign a category to a page so that when I search for the page, all the posts linked to the category show up.

  21. Susan Taunton

    Hi WPBeginner!

    Post Tags and Categories is flagged by Wordpress now as not having been updated for 12 months and is only tested for up to Wordpress version 4.5.13. I just wonder if there not a child theme functions.php addition that could accomplish making pages taggable? Or is there a more up to date plugin that accomplishes this?
    Thank you so much for your many, many excellent tutorials.
    Susan

    • Xavier

      Same question than Suzan.

      I might use the php code for this feature in you have it by any chance.

      BTW Suzan,
      I found this plugin that might do the trick but I didnt test it myself and I would like WPBeginner opinion on that :
      Category to Pages WUD

      Hope this help

  22. Daan

    Is it possible to use slugs from the categories
    /categories/pagename

  23. mohit yadav

    Hi Thanks For This Great Article & the New Way of Website Structuring .

    LOVE YOU

    for this article.

    Now What i m Looking is ?

    i have a real estates website, while user submit property in this then he saw additional 3 drop down menu

    1. by pages
    2. by location
    3. by type
    and at last these automatically make a link with relevant pages.

    THanks in Advance
    Please help me .

  24. Norma

    Hi, was super excited for this plugin but it didn’t work. It installed the categories but didn’t link them… I am so sad! Is there and up to date version?!

  25. Carol

    I guess this info is outdated for the latest WP version. Is there an alternative plugin? I need to have this and it should be in WP by default, not requiring a plugin!

    Complaints on the plugin’s site that their latest version does not work. When I do a search by different ways within my own plugin page for ‘new’, « no such plugin ».

    • WPBeginner Support

      Hi Carol,

      No, the information and the plugin mentioned in the article still work perfectly. We have updated the article with new screenshots. :)

      Administrateur

    • Kegesa Danvas

      Maybe you should try a plugin called Category to Pages WUD

  26. Jhasketan Garud

    Hi,
    Thanks a lot. I just looking for this.
    Now, I can easily affix categories to my new as well as old pages.

  27. Jonathan Hostetler

    Thanks for this tip! I tried the plugin you recommended « Post Tags and Categories for Pages » and it worked flawlessly. This is super helpful for me because we need to use pages (as opposed to posts) for certain projects because our visual editor plugin is only compatible with pages, but I also need to be able to assign categories to our content.

    So, problem solved. Thanks again!

  28. Sru

    How can i list the category names under each page.? Please advise

  29. David

    This plugin has not been updated in 2+ years. Is there a way to do this without a plugin, so you’re not dependent on an old, outdated plugin?

    • Niso

      What is the difference between an old plugin and old code? I do not see any . difference.

  30. Kayleen Peretto-Ortega

    Hello! I don’t have a plugin option, but there is an option for tags. I add tags for my posts, but they don’t appear on each post I make. Would you be able to help me on this?

  31. Tess Bulman

    Do you have to have the upgraded version of wordpress? I have the free version and it won’t let me do anything with plugins? If this is the case, is there another way to put tags on my pages?

  32. Fabio

    Any info about compatibility with WordPress 4.4 ?

    • Renier

      @Fabio
      I found some problems in WP4.4. For some reason none of the ‘article posts’ in a category/post shows on archives (2016 theme). By deactivating obviously all ‘article posts’ shows, but not ‘article pages’ (or at least this is what I suspect). In short, archives doesn’t show all the pages.

      Does anyone else experience this problem? I can’t seem to find any literature on the topic. Maybe Post tags and categories for pages plugin needs an update?

  33. Tor Ivan Boine

    awesome! Weird that this needs a plugin

  34. gerhard

    Very useful feature and a very good explanation on video!
    thanks

  35. Sebastian

    Hi,

    has anyone managed yet to make these categories for pages appear in the URLs as well?

    I have not found any way to do this. Without it this plugin is only half as useful.
    Thanks for any suggestions!

    Sebastian

  36. Denis

    I have a question,

    I have a website, and I do have categories pages, and TAG pages too,

    Category pages are shown as 10 posts and they have next button – previous button,

    But TAG pages don’t have NEXT BUTTON – PREVIOUS BUTTON, and they show only 10 posts related with the tag…

    It is really crucial issue for me and I really need to have this TAG pages with next button, previous button

    Do you guys have any idea that why CATEGORY pages do have these buttons but TAG pages don’t have?

    How can I solve this issue?

    Thanks so much in advance.

    Best

  37. Trieu To

    Hi, i want to add category to page-url example /%category%/%pagename% how can i modify it?
    Can you post a artice about this?
    Thanks

  38. neotanvir

    I need a video which make it without using any plugins. Thanks

  39. Tanuj Mandale

    is there a reverse of this,
    I mean while creating a new post, instead of categories I want pages (to choose from). Means as a post is associates to category, it must associate to page.
    Is it Possible, please reply.
    thanks in advance

  40. Ali Chaudhry

    Hi, im getting tag options for my posts but not for products, how to turn on tag option for products ?

  41. Tiziano D'Angelo

    Do you know why the categories which are created are shared with posts? I’d like them to be page-only….

  42. Leona

    Hi everyone, How do I take off the parenthesis and number of pages in front of each category. I am using it to categorize product for my online store and these don’t make sense. Thanks.

  43. Shane

    Hi Guys,

    Thanks for this info. Was wondering if this could be done.

    Has anyone found that by adding categories to pages has increased rankings in Google if they also change permalink to – /%category%/%postname% ?

    Cheers,

    Shane

    • michello

      No, because the urls don’t change, I mean the category name does not show up in the url :-( So this plugin is half-baked.

      • Paul Adams

        Is there a way to force them to show up in URLs via functions.php?

        • Trieu To

          Hi Paul Adams
          Like for this idea!

  44. GILL COTTER

    ooh thanks… so useful x

  45. bernice

    where should i post the coding at? do you had a guide? thanks

  46. Mark Breese

    So, as you say, there’s a plugin for that… So is there a plugin… or shortcode that will let me show the pages with a certain category as a list of links… or maybe a list with excerpts and featured image? And I am using Ninja Page Categories and Tags plugin actually.

    My theme has a short code for showing posts in a category, but it does not pick up the pages in category and show them. (the theme is Weaver II Pro)

  47. Les

    I have to correct my first post. The categories used to appear on the right-hand side of the page.

    • Les

      SOLVED: I found out what the problem was. In the « Screen Options » I had categories unchecked. I placed a check in the box and the categories are back.

      Thanks for a great plugin.

  48. Les

    My categories stopped showing on my add pages screen. They used to appear on the left side of the page. Even if I create a new page category, it won’t show up. Do you have any idea what could be causing this?

    Thanks in advance.

  49. chris

    Ignore previous comment. This is the correct one.

    Hi. How can I show a listing of pages with their title/featured image/more?
    Actually I only need the query to display a list of pages related to a category (pages I created and assigned them to a category) doesn’t seem to work. Instead, it brings only posts.

Laisser une réponse

Merci d'avoir choisi de laisser un commentaire. Veuillez garder à l'esprit que tous les commentaires sont modérés selon notre politique de commentaires, et votre adresse e-mail ne sera PAS publiée. Veuillez NE PAS utiliser de mots-clés dans le champ du nom. Ayons une conversation personnelle et significative.