{"id":50,"date":"2024-02-08T06:39:05","date_gmt":"2024-02-08T06:39:05","guid":{"rendered":"https:\/\/docs.mysterythemes.com\/storeflex\/?p=50"},"modified":"2024-02-08T06:39:07","modified_gmt":"2024-02-08T06:39:07","slug":"how-to-add-a-category-block-to-your-site","status":"publish","type":"post","link":"https:\/\/docs.mysterythemes.com\/storeflex\/how-to-add-a-category-block-to-your-site\/","title":{"rendered":"How to add a category block to your site?"},"content":{"rendered":"\n<p>Category blocks help your users choose their products based on the categories you\u2019ve divided.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/Category-Block-Section-1024x499.jpg\" alt=\"Category Block Section\" class=\"wp-image-135\" srcset=\"https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/Category-Block-Section-1024x499.jpg 1024w, https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/Category-Block-Section-300x146.jpg 300w, https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/Category-Block-Section-768x374.jpg 768w, https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/Category-Block-Section.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">To do that,<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login to your <strong>WordPress dashboard<\/strong>, then go to <strong>Appearance > Customize<\/strong>.<\/li>\n\n\n\n<li>After that, navigate to <strong>Front page Settings > Full Width Settings<\/strong><\/li>\n\n\n\n<li>Select the second option named<strong> Category Blocks <\/strong>to configure your categories<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/StoreFlex_-Frontpage_-Category-Block-1024x538.jpg\" alt=\"StoreFlex_ Frontpage_ Category Block\" class=\"wp-image-136\" srcset=\"https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/StoreFlex_-Frontpage_-Category-Block-1024x538.jpg 1024w, https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/StoreFlex_-Frontpage_-Category-Block-300x158.jpg 300w, https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/StoreFlex_-Frontpage_-Category-Block-768x404.jpg 768w, https:\/\/docs.mysterythemes.com\/storeflex\/wp-content\/uploads\/sites\/24\/2024\/02\/StoreFlex_-Frontpage_-Category-Block.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the <strong>gear icon<\/strong> \u2699\ufe0f to enable the editor.<\/li>\n\n\n\n<li>Add your <strong>desired block title<\/strong> in the text area just below the gear icon.<\/li>\n\n\n\n<li>Choose your post order for the category block from the drop-down menu. There are three options for ordering your post: <strong>A-Z, Z-A, and Random<\/strong>. Choose any one of them.<\/li>\n\n\n\n<li>If you want to enable <strong>Post Count <\/strong>in your category block, then toggle on<strong> <\/strong>the given option below the post order<strong> <\/strong>drop-down menu.<\/li>\n\n\n\n<li>If you want to disable this block, click on the eye icon beside the gear icon.<\/li>\n\n\n\n<li>Click on the <strong>Publish<\/strong> button to save your changes.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Category blocks help your users choose their products based on the categories you\u2019ve divided. To do that,<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-front-page-settings"],"_links":{"self":[{"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":2,"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/posts\/50\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.mysterythemes.com\/storeflex\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}