{"id":368496,"date":"2025-10-23T13:21:56","date_gmt":"2025-10-23T07:21:56","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=368496"},"modified":"2025-10-23T13:21:56","modified_gmt":"2025-10-23T07:21:56","password":"","slug":"all-categories-page","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/all-categories-page\/","title":{"rendered":"All Categories Page"},"content":{"rendered":"\n<p>You can display all categories of directorist listings on any page or post using the following shortcode.\u00a0<br><br>Directorist all categories shortcode: <code>[directorist_all_categories]<\/code>\u00a0The\u00a0<code>[directorist_all_categories]<\/code>\u00a0shortcode has many parameters to customize the display of all categories. Let\u2019s have a look at the available parameters and their available values with some description.<\/p>\n\n\n\n<p><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>view<\/strong>: You can display all categories in a list layout or grid layout. Available Options: list | grid view. The default value is the grid. <br><br>Example:\u00a0[directorist_all_categories view=&#8221;grid&#8221;]<br><\/li>\n\n\n\n<li><strong>order by<\/strong>: You can order all categories using this attribute. Available Options : id | count | name | slug. The default is id. <br><br>Example:\u00a0[directorist_all_categories orderby =&#8221;id&#8221;]<br><\/li>\n\n\n\n<li><strong>order<\/strong>: You can sort all categories in ascending or descending order using this attribute. Available Options: asc | desc. The default is asc. <br><br>Example:\u00a0[directorist_all_categories order=&#8221;asc&#8221;]<br><\/li>\n\n\n\n<li><strong>logged_in_user_only<\/strong>: You can make all categories page only visible for the logged-in user using this parameter. Options available: yes | no. <br><br>Example:\u00a0[directorist_all_categories logged_in_user_only=&#8221;no&#8221;]<br><\/li>\n\n\n\n<li><strong>redirect_page_url<\/strong>: Forward\/redirect all categories page using this parameter. <br><br>Example:\u00a0[directorist_all_categories redirect_page_url=&#8221;www.aazztech.com&#8221;]<br><\/li>\n\n\n\n<li><strong>columns<\/strong>: You can set the number of columns of the grid view layout using this attribute. Example\u00a0[directorist_all_categories columns=&#8221;3&#8243;]<br><\/li>\n\n\n\n<li><strong>cat_per_page<\/strong>: You can set the number of categories to show per page using this parameter. The default is 100. <br><br>Example:\u00a0[directorist_all_categories cat_per_page=&#8221;6&#8243;]<br><\/li>\n\n\n\n<li><strong>slug<\/strong>: You can display specific categories using this parameter. Use category slugs separated by a comma. <br><br>Example:\u00a0[directorist_all_categories slug=&#8221;food&#8221;]<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"sample-screenshot\">Sample Screenshot<\/h3>\n\n\n\n<p>The shortcode output on your site may be a little different because new features are being added and modified with every update.<\/p>\n\n\n\n<p>That&#8217;s all about All Categories Page shortcodes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can display all categories of directorist listings on any page or post using the following shortcode.\u00a0 Directorist all categories shortcode: [directorist_all_categories]\u00a0The\u00a0[directorist_all_categories]\u00a0shortcode has many parameters to customize the display of all categories. Let\u2019s have a look at the available parameters and their available values with some description. Parameters: Sample Screenshot The shortcode output on your [&hellip;]<\/p>\n","protected":false},"author":22343,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[707],"doc_tag":[],"class_list":["post-368496","docs","type-docs","status-publish","hentry","doc_category-shortcodes-library"],"year_month":"2026-03","word_count":294,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Fairose Farabi","author_nicename":"farabisovware","author_url":"https:\/\/directorist.com\/author\/farabisovware\/"},"doc_category_info":[{"term_name":"Shortcodes Library","term_url":"https:\/\/directorist.com\/docs-category\/shortcodes-library\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/368496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/users\/22343"}],"replies":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/comments?post=368496"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/368496\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=368496"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=368496"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=368496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}