{"id":396,"date":"2014-09-08T18:14:19","date_gmt":"2014-09-08T16:14:19","guid":{"rendered":"http:\/\/servikus.com\/tutorials\/?p=396"},"modified":"2014-10-01T19:44:46","modified_gmt":"2014-10-01T17:44:46","slug":"how-to-assign-posts-to-categories-in-wordpress","status":"publish","type":"post","link":"https:\/\/servikus.com\/tutorials\/how-to-assign-posts-to-categories-in-wordpress\/","title":{"rendered":"How to assign posts to categories in WordPress"},"content":{"rendered":"<p>This tutorial will teach you all the necessary steps needed to assign posts to categories.<\/p>\n<p><strong>Note<\/strong>: This tutorial assumes you&#8217;re already logged into your WordPress admin panel.<\/p>\n<p>There is more than one way to assign posts to categories. We will first cover assigning categories when adding new posts. Just follow steps described below and you will learn it in no time.<\/p>\n<p><strong>Step 1:<\/strong> Navigate to &#8220;<strong>Posts<\/strong> -&gt; <strong>Add new<\/strong>&#8221; page and fill in everything needed (post title, post content)<\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_12.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-397\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_12-300x139.png\" alt=\"Screenshot_1\" width=\"300\" height=\"139\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_12-300x139.png 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_12-1024x475.png 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_12.png 1357w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 2:<\/strong> Before publishing your post just select category of your post. There is categories box located on the right side of the page. You can select one category or several categories, it makes no difference. After selecting category just click on &#8220;<strong>Publish<\/strong>&#8221; button and your new post will be published under selected category.<\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_22.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-398\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_22-300x120.png\" alt=\"Screenshot_2\" width=\"300\" height=\"120\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_22-300x120.png 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_22-1024x411.png 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_22.png 1365w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In order to assign\/edit categories of already created posts you will need to do following:<\/p>\n<p><strong>Step 1:<\/strong> Navigate to &#8220;<strong>Posts<\/strong> -&gt;<strong>All Posts<\/strong>&#8221; page. Here you will see a detailed list of all your posts (published and drafts).<\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_32.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-399\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_32-300x129.png\" alt=\"Screenshot_3\" width=\"300\" height=\"129\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_32-300x129.png 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_32-1024x441.png 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_32.png 1365w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 2:<\/strong> Select post you wish to edit categories for (you can select multiple posts too). From a drop-down menu above posts list select &#8220;<strong>Edit<\/strong>&#8221; option and click on &#8220;<strong>Apply<\/strong>&#8221; button (as shown on screenshot below).<\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_42.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-400\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_42-300x132.png\" alt=\"Screenshot_4\" width=\"300\" height=\"132\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_42-300x132.png 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_42-1024x452.png 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_42.png 1365w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Step 3:<\/strong> Now you will be able to edit some of post details. Since we want to assign posts to categories, we will edit only that for now. Select category or more categories and click on &#8220;<strong>Update<\/strong>&#8221; button.<\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_51.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-401\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_51-300x141.png\" alt=\"Screenshot_5\" width=\"300\" height=\"141\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_51-300x141.png 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_51-1024x483.png 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/09\/Screenshot_51.png 1343w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>That&#8217;s all! In this example tutorial we assigned two of our posts to two different categories.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will teach you all the necessary steps needed to assign posts to categories. Note: This tutorial assumes you&#8217;re already logged into your WordPress admin panel. There is more than one way to assign posts to categories. We will first cover assigning categories when adding new posts. Just follow steps described below and you&#8230; <a class=\"read-more\" href=\"https:\/\/servikus.com\/tutorials\/how-to-assign-posts-to-categories-in-wordpress\/\">Read More<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts\/396"}],"collection":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/comments?post=396"}],"version-history":[{"count":1,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts\/396\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts\/396\/revisions\/402"}],"wp:attachment":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/media?parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/categories?post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/tags?post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}