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

WordPressページにカテゴリーとタグを追加する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WordPressのページにカテゴリーやタグを設定したいけれど、何から始めたらいいかわからない?

カテゴリーとタグは、ブログ投稿を分類し、ユーザーが探しているものを見つけやすくするのに役立ちます。ただし、初期設定では投稿にのみ使用可能で、ページには使用できません。

この投稿では、WordPressのページにカテゴリーとタグを追加する方法を順を追って説明します。

How to add categories and tags for WordPress pages

なぜWordPressのページにカテゴリーとタグを追加するのか?

WordPressのページにカテゴリーとタグを追加すると、ページが整理され、訪問者が探しているものを見つけやすくなります。

例えば、WooCommerceストアに異なる商品の販売ページが複数ある場合、それらを大分類や子分類のページにまとめることができます。

アプリやソフトウェアの異なる機能ページにも同じことができます。例えば、OptinMonsterでは複数の特集ページを「特集」カテゴリーにグループ化しています。

OptinMonster feature pages example

ページカテゴリーとタグは、検索エンジン最適化(SEO)にも役立ちます。検索エンジンがコンテンツをナビゲートし、サイトの構造を理解しやすくなるため、ページのインデックスやランク付けが容易になります。

初期設定では、カテゴリーとタグはブログ投稿に限定されたWordPressタクソノミーです。そのため、通常はWordPressの投稿にしか使用できません。しかし、いくつかのステップを踏むことで、ページにも適用することができます。

No categories or tags for pages

このチュートリアルでは、WordPressサイトのページにカテゴリーを追加する方法をご紹介します。また、WordPressのページにタグを追加する方法も説明します。

WordPressのページにカテゴリーとタグを簡単に追加する方法

WordPressのカテゴリーとタグをページに設定する最も初心者向けの方法は、Pages with category and tagプラグインを使用することです。これは無料のWordPressプラグインで、追加設定なしですぐに使えます。

最初に行う必要があるのは、プラグインのインストールと有効化です。詳しくは、WordPressプラグインのインストール方法をご覧ください。

有効化した後、WordPress管理エリアのページ ” 新規追加に進みます。WordPressタグと投稿カテゴリーがWordPressページで利用できるようになります。

Categories and tags for pages

次に、ページのカテゴリーとタグを作成します。

カテゴリーを追加するには、WordPressダッシュボードからページ ” カテゴリーセクションに移動し、カテゴリーの「名前」と「スラッグ」を入力します。

Add name and slug for new page category

その後、下にスクロールして、あなたのカテゴリーの「親カテゴリー」を選択することができます。

これらの詳細を入力したら、「新規カテゴリーを追加」ボタンをクリックするだけです。

Choose parent category and add new category

新しく追加されたカテゴリーをページに表示することができます。

特定のカテゴリーを削除したい場合は、その隣のチェックボックスをクリックし、一括操作のドロップダウンから「削除」を選択するだけです。そして「適用」ボタンをクリックしてください。

View your page category

次に、WordPressのページを先ほど作成したカテゴリーに分類します。

まず、ページを編集または新規作成します。WordPressのコンテンツエディターから、右側のサイドバーから関連するカテゴリー名を選択できます。

例えば、特集ページを作成し、右側のサイドパネルの「特集」カテゴリーにマークした。

Select your category and enter tags

同様に、「タグ」フィールドでWordPressページのタグを使用することができます。複数のタグを追加したい場合は、カンマで区切ってください。

例えば、コンテンツを説明するのに役立つキーワードやフレーズを追加することができます。私たちのケースでは、タグとして「exit intent」と「OptinMonster」というキーワードを追加しました。

カテゴリーを選択し、タグを追加したら、WordPressページを更新または公開するだけです。これだけです!

WordPressサイトでカテゴリーとタグを最大限に活用する方法については、以下のチュートリアルをご覧ください:

この投稿がWordPressページに投稿カテゴリーとタグを追加するのにお役に立てば幸いです。カスタムアーカイブページの作成方法に関する投稿や、サイトを最適化するWordPress SEOプラグインのリストもご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

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.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

84件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Waran says

    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 says

      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.

      管理者

  3. Johan says

    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

  4. Paul Wright says

    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 says

      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.

      管理者

  5. Liesbeth says

    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 says

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

      管理者

  6. Dee Torre says

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

  7. Tarun soni says

    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 says

      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.

      管理者

  8. Joe Youngblood says

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

  9. Evan Blass says

    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?

  10. Vale says

    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 says

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

      管理者

  11. Ismail Siraje Ittembe says

    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 says

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

      管理者

  12. Carolyn says

    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).

  13. Viswanathan says

    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?

  14. Ghislain Poirier says

    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?

  15. Pranav Mohan says

    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.

  16. Susan Taunton says

    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 says

      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

  17. mohit yadav says

    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 .

  18. Norma says

    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?!

  19. Carol says

    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”.

  20. Jhasketan Garud says

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

  21. Jonathan Hostetler says

    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!

  22. David says

    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?

  23. Kayleen Peretto-Ortega says

    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?

  24. Tess Bulman says

    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?

    • Renier says

      @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?

  25. Sebastian says

    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

  26. Denis says

    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

  27. Trieu To says

    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

  28. Tanuj Mandale says

    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

  29. Leona says

    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.

  30. Shane says

    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

  31. Mark Breese says

    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)

    • Les says

      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.

  32. Les says

    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.

  33. chris says

    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.

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。