- 1 Group categories and subcategories in WordPress
- 1.1 Step 1: Select the Categories Option from the Block Editor Menu
- 1.2 Step 2: Click on the Add New Category Link
- 1.3 Step 3: Name and Save Your Category
- 1.4 Step 1: Start Editing a Post & Select the Categories Tab
- 1.5 Step 2: Click on the Add New Category Link
- 1.6 Step 3: Select a Parent Category for Your WordPress Subcategory
- 2 Cómo usar las categorías de WordPress
- 3 How to Add Categories in WordPress and Assign Posts to Them
- 4 Video How to create a category in wordpress
Group categories and subcategories in WordPress
Posted to WordPress by Erin Myers
Last updated May 12, 2021
The format and structure of your site are important to your overall user experience (UX). However, as you add more content to your site over time, keeping it organized can become overwhelming.
Fortunately, using a content management system (CMS) can make it easier to organize content into categories and subcategories. Con estas características, puede maintain su publications de WordPress correctly ordered and ordered.
En esta publicación, explicaremos cómo funcionan las categorías en relación con el contenu web. Luego, lo guiaremos a través de cómo crearlos and configurarlos in WordPress in tres simples pasos. ¡Empecemos !
¿Qué es una subcategoría en WordPress?
Antes de entrar en cómo crear categorías y cómo sacar una subcategoría de una categoría principal en WordPress, es importante entender primero qué significan estos términos.
Las categorías son una función de WordPress que te permite agrupar publicaciones de blog relacionadas:
Suelen usarse para organizar mejor los menús y la navegación del sitio . También puede crear páginas dedicadas a cada categoría para que sus visitantes puedan ver archivos de publicaciones relacionadas que se muestran en un solo lugar.
También denominadas “categorías secundarias”, las subcategorías son grupos de nicho dentro de las categorías principales que se vuelven aún más específicos sobre el tema de la publicación. Por ejemplo, podría tener una categoría principal llamada “Ejercicio” y una subcategoría titulada “Yoga para principiantes”.
There are many benefits to using categories and subcategories in WordPress. As we mentioned, they can improve your visitors’ experience by making it easier for them to find content they’re looking for. It can also help boost your Search Engine Optimization (SEO) by giving crawlers more context for your site’s structure.
How to Create Categories in WordPress (In 3 Steps)
Now that we’ve discussed what they are, it’s time to take a look at how to create categories in WordPress. Below, we’ll take you through how to do so in three quick steps.
Step 1: Select the Categories Option from the Block Editor Menu
There are a couple of different ways you can add a new category in WordPress. We’ll go over the quickest and easiest method.
To get started, you’ll first want to browse to the WordPress post that you want to add the new category to. On the Block Editor screen, open the options menu by clicking on the gear icon at the top of the screen, then expand the Categories section to view a list of the categories currently available on your site:
Note that if you haven’t created any categories for your site yet, your only option here will be Uncategorized. WordPress adds this option by default.
Step 2: Click on the Add New Category Link
Next, click on the Add New Category link below the list of existing categories:
Once you do so, WordPress will display a few new fields you can fill out.
Step 3: Name and Save Your Category
The first field to complete is New Category Name, which is pretty self-explanatory. It should be different from any other category name on your site.
Sticking with our example from earlier, let’s say that we’re starting a health and fitness blog. One of the main categories we might add is “Exercise,” which will later be further broken down into additional subcategories:
We’re not going to select a parent category from the dropdown menu below the Name field. Finally, you can click on the Add New Category button. You’ll now be able to choose this category from the list in the options menu on future posts.
The steps above simply cover the basics. However, if you’re interested in learning more, we recommend checking out our Benefits of WordPress Categories article.
How to Create Subcategories in WordPress (In 3 Steps)
The process for creating subcategories in WordPress is quite similar to that of adding categories as we just discussed above. However, there is a key difference. Let’s take a look at how to set a subcategory of a parent category in WordPress in three steps.
Step 1: Start Editing a Post & Select the Categories Tab
To get started, navigate to the WordPress post that you want to add to a new subcategory. In the Block Editor, expand the Categories section in the Post tab of the options menu to the right.
Step 2: Click on the Add New Category Link
Again, the next step is to select the Add New Category link below the list of existing categories. From here, you can add the new subcategory’s name, making sure it’s unique and specific.
Step 3: Select a Parent Category for Your WordPress Subcategory
The third and arguably most important step in creating a subcategory is to assign it to a parent category. For example, let’s say that we want to add the “Beginner Yoga” subcategory that we mentioned earlier to the “Exercise” category.
To do so, we’ll enter “Beginner Yoga” as the name, then select Exercise from the Parent Category dropdown menu:
By assigning it a parent category, we’ve now created a subcategory. Then you can click on the Add New Category button to complete the setup.
You can access these categories and assign your posts to them any time you’re using WordPress. Additionally, you can locate, modify, and optimize your categories and subcategories by navigating to Posts > Categories in your admin dashboard.
Do More With WP Engine
WordPress is a powerful CMS that can help you create a robust website. However, when you’re continuously writing and publishing new content, it’s important to make sure you’re staying organized.
As we discussed in this article, creating categories and subcategories in WordPress offers a quick and easy way to group related posts on your site. Not only can this help provide better UX for your visitors, but it can also enhance your SEO.
To get the most out of WordPress and ensure you’re consistently delivering seamless, reliable performance, you might also consider upgrading your hosting solution. Check out the various plans we offer here at WP Engine to learn more!
Cómo usar las categorías de WordPress
Tabla de contenido
- Cómo crear categorías de WordPress
- Cómo asignar publicaciones a categorías
WordPress categories are a very convenient way to organize your posts. You can have parent and child categories, making hierarchical arrangement of your posts possible. In addition, one post can be placed in more than one category. This gives you a lot of flexibility to show exactly the posts you want, exactly the way you want them in widgets, menus or directly in your WordPress theme.
How to create WordPress categories
To create new categories in WordPress, go to Posts > Categories page.
On the left side of the page, you will see a tab that allows you to create categories. Fill in the category name, its slug (will be used in the category URLs), the category description and then press Add New Category. For the purpose of this tutorial, we will make a new category named Family posts.
Now the new category in your WordPress is ready. Now, let’s make a sub-category of the Family posts one named Nephews. Fill in a name and slug the way you did with the first category but this time select Family posts as a parent for the new category. Then, press Add New Category once more to save the new sub-category.
How to assign posts to categories
Once you have the category structure created, you can add posts to categories. There are two ways you can do this. The first one is to open a particular post (or write a new one) and place a checkbox in the category you want to assign it to.
The second way is to bulk add posts to a category. To do this go to Posts > All Posts. Next, select the posts you want to add to a category, click on the Bulk Actions tab, select Edit and finally press the Apply.
Several new sections will show, allowing you to edit different settings of the selected posts. One of them is the Categories section. Select the category you want to add those posts to and click on the Update.
Now, the posts you’ve marked previously belong to the category you’ve chosen.
Tutoriales de WordPress › Lo esencial › Cómo agregar categorías en WordPress y asignarles publicaciones
How to Add Categories in WordPress and Assign Posts to Them
by Lazar Shishmanov | April 4, 2017
If you want to have any structure on your website most often than not you’ll have to divide your content into categories.
Adding categories in WordPress is a fairly simple task. You are literally two steps away from categorizing your content.
Step 1: How to Add Categories in WordPress
As well as the Post creating, to add a new category, you’ll just have to hover the mouse over the Posts button. Then click on Categories.
In a glance, this page is a bit more complex than the post creating one, but in reality, it’s not. Just add the chosen category name, the slug (this is what will appear in the URLs) and the Parent of the new category, if there is one.
Read: What is Slug in WordPress
The bars where you’ll have to fill in the chosen category name, the slug and to choose if this is a child category (subcategory), are on the left part of the screen. If you don’t need(or have) Parent category, just leave it as it is. Saying None.
It’s not necessary to type any description, although it would only help. When ready, click the Add New Category button.
For the purpose of this tutorial, we will make a new category named WordPress.
Your first category is ready!
If you want to add a sub-category, just follow the steps above. This time just select the already created category as a parent for the new one. Press Add New Category again to save the new sub-category.
If you created a category that you no longer need, read: How to delete categories in WordPress
Step 2: Assign a post to a category
Now, having created the categories you need, placed them in the correct hierarchy, you are ready to assign new posts (and old ones, if you wish) to the appropriate category. You can either assign posts to categories one by one as shown in the image below…
…or you can do it in the so-called mass action.
To do that, go to Posts -> All Posts .
Select the posts you want to add to a category, click on the Bulk Actions tab , select Edit and finally hit the Apply button .
Some options will appear in front of you. One of them is the Categories section . Select the category you want to add those posts to and click the Update button .
After clicking the Update button , the posts are assigned to the chosen category.
Check out our new WordPress hosting plans.