{"id":443,"date":"2020-07-29T13:33:27","date_gmt":"2020-07-29T13:33:27","guid":{"rendered":"https:\/\/documentation.px-lab.com\/infolio\/?p=443"},"modified":"2020-07-29T16:42:07","modified_gmt":"2020-07-29T16:42:07","slug":"categories","status":"publish","type":"post","link":"https:\/\/documentation.px-lab.com\/infolio\/categories\/","title":{"rendered":"Categories"},"content":{"rendered":"\n<p>WordPress categories are a very convenient way to organize your blog 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.<\/p>\n\n\n\n<h3>How to create WordPress categories<\/h3>\n\n\n\n<p>To create new categories in WordPress, go to&nbsp;<strong>Posts \u00bb Categories<\/strong>&nbsp;page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-new.jpg\"><img loading=\"lazy\" width=\"768\" height=\"396\" src=\"http:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-new.jpg\" alt=\"\" class=\"wp-image-379\" srcset=\"https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-new.jpg 768w, https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-new-300x155.jpg 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<p>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&nbsp;<strong>Add New Category <\/strong>(we will make a new category named&nbsp;<strong>Family posts<\/strong>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-name.jpg\"><img loading=\"lazy\" width=\"787\" height=\"694\" src=\"http:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-name.jpg\" alt=\"\" class=\"wp-image-389\" srcset=\"https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-name.jpg 787w, https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-name-300x265.jpg 300w, https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/category-add-name-768x677.jpg 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/a><\/figure>\n\n\n\n<p>Now the new category in your WordPress is ready.<\/p>\n\n\n\n<h3>How to create WordPress sub-categories<\/h3>\n\n\n\n<p>Let\u2019s make a sub-category of the <strong>Family posts<\/strong>&nbsp;one named&nbsp;<strong>Nephews<\/strong>. Fill in a name and slug the way you did with the first category but this time select&nbsp;<strong>Family posts<\/strong>&nbsp;as a parent for the new category. Then, press&nbsp;<strong>Add New Category<\/strong>&nbsp;once more to save the new sub-category.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/sub-category.jpg\"><img loading=\"lazy\" width=\"766\" height=\"690\" src=\"http:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/sub-category.jpg\" alt=\"\" class=\"wp-image-390\" srcset=\"https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/sub-category.jpg 766w, https:\/\/documentation.px-lab.com\/infolio\/wp-content\/uploads\/sites\/12\/2018\/06\/sub-category-300x270.jpg 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>WordPress categories are a very convenient way to organize your blog 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/posts\/443"}],"collection":[{"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":8,"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/posts\/443\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/media?parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/categories?post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.px-lab.com\/infolio\/wp-json\/wp\/v2\/tags?post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}