{"id":160,"date":"2020-05-08T10:21:15","date_gmt":"2020-05-08T10:21:15","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_directorist&#038;p=160"},"modified":"2021-07-12T00:13:29","modified_gmt":"2021-07-11T18:13:29","slug":"listings-sidebar","status":"publish","type":"wpwax_directorist","link":"https:\/\/directorist.com\/documentation\/directorist\/listings-management\/listings-sidebar\/","title":{"rendered":"Listings Sidebar"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Sidebar<\/h3>\n\n\n\n<p>The sidebar allows you to have various widgets on the single listing page. Directorist has a sidebar for the single listing page and if your theme doesn&#8217;t have a sidebar or you do not wish to use the theme&#8217;s sidebar then you can use Directorist Sidebar to display widgets on the single listing page.<\/p>\n\n\n\n<p>To enable Directorist Sidebar, navigate to &nbsp;<strong>Directory Listings \u2192 Directory Settings \u2192 Personalization \u2192 Single Listing Template \u2192 Template&nbsp;<\/strong>and select<strong>&nbsp;&#8220;Directorist Custom Template&#8221;.&nbsp;<\/strong>This will override your theme\u2019s template for only the single listing page.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" src=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/03\/template-1024x504.png\" alt=\"\" class=\"wp-image-916\" srcset=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/03\/template-1024x504.png 1024w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/03\/template-300x148.png 300w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/03\/template-768x378.png 768w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/03\/template.png 1237w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>Navigate to <strong>WP Admin Dashboard&nbsp;\u2192 Appearance \u2192 Widgets \u2192<\/strong> drag and drop your desired widgets in the Directorist &#8211; Listing Right Sidebar.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/Z04kpSs.png\" alt=\"\" \/><\/figure><\/div>\n\n\n\n<p><span style=\"font-weight: 400\">Please <\/span><b>note<\/b><span style=\"font-weight: 400\">, Directorist sidebar is for the single listing page only. If you are using both the theme\u2019s sidebar and the Directorist sidebar then chances are the sidebar on the single listing page will be duplicated. Theme sidebar is usually displayed on all the pages whilst the Directorist sidebar appears only on the single listing page, so if you drop widgets in Directorist Sidebar as well as the theme sidebar then it will result in duplication.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Displaying categories in a sidebar<\/h3>\n\n\n\n<p>You can display all listings categories using the\u00a0<strong>Directorist \u2013 Categories<\/strong>\u00a0Widget. You can use this widget from\u00a0the <strong>Appearance \u2192 Widgets<\/strong>\u00a0page. Drag the\u00a0<strong>Directorist \u2013 Categories<\/strong>\u00a0widget to a sidebar eg. the Directorist \u2013 Listing Right Sidebar and customize the widget settings. Click save after customizing the widget and visit any listing details page. You will see categories are being displayed perfectly. Check out the screenshots below for more understanding.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/yi4Vu0c.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Displaying locations widget in a sidebar<\/strong><\/h3>\n\n\n\n<p><span style=\"font-weight: 400\">You can display all listings locations using the Directorist \u2013 Locations Widget. You can use this widget from the <strong>Appearance \u2192 Widgets page<\/strong>. Drag the Directorist \u2013 Locations widget to a sidebar eg. the Directorist \u2013 Listing Right Sidebar and customize the widget settings. Click save after customizing the widget and visit any listing details page. You will see locations are being displayed perfectly. Check out the screenshots below for more visual understanding.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/oqjaiVT.jpg\" alt=\"\" \/><\/figure>\n\n\n\n<p>And that&#8217;s how you can configure the sidebar of the listings in Directorist.<\/p>\n","protected":false},"author":2298,"parent":0,"menu_order":0,"template":"","class_list":["post-160","wpwax_directorist","type-wpwax_directorist","status-publish","hentry","wpwax_directorist_category-listings-management"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_directorist"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2298"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}