How to Display Categories on WordPress Blog Pages

As your blog content grows, you may find it helpful to know different methods to display categories on WordPress blog pages. You can create a page with a single category or multiple categories.

When you create a new category in WordPress, a page will be generated that includes all the posts that you’ve assigned to that category. To view the direct link to the page with a single category, go to WordPress Dashboard > Posts > Categories.

Blog Category ListWhen you hover your mouse over the category title, a list of options will appear. Click on View to get the link to the single category page.

What if you want to create a category page that includes posts from specific categories?

Step 1: To begin, go to your WordPress Dashboard and select Posts > Categories. Create any of the categories that you would like to include on the category page.

Step 2: Hover your mouse over the category title and look at the bottom of your screen. You will see a long link similar to the example below.

http://www.designerblogs.com/wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID6….

The link includes the ID number for your category. In this example, it’s ID 6. Note the IDs of each of your categories and continue with the next step.

Step 3: Create a New Page with a title that will describe your categories. In this example, we’ll have a category page for Dessert Recipes that will include recipes for the following categories: cupcakes, cookies, and brownies.

Step 4: Under Page Attributes, select Blog as the Template type.

Blog Page Attribute

Step 5: Next you will need to enable a feature called Custom Fields. At the top of the page editor window, you will see a tab called Screen Options. Check the box by custom fields.

screenoptions

Step 6: Scroll to the bottom of the page editor window until you see the boxes for Custom Fields. Enter the text query_args in the Name field box. In the value field box, you will use the category ID numbers that you noted in Step 2. Separate the categories with commas.

Add query_args custom field

Save your new category page.

You may find this method helpful when creating a navigation menu for your site.

categorymenuexample

 


Comments

  1. I followed your tips and it really works very fine. Now I can show my each post on individual category according to the theme of the blog post.
    Thanks

Speak Your Mind

*