{"id":2347,"date":"2026-10-20T08:32:18","date_gmt":"2026-10-20T07:32:18","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/listings-slider\/"},"modified":"2026-10-20T08:39:57","modified_gmt":"2026-10-20T07:39:57","slug":"listings-slider","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/listings-slider\/","title":{"rendered":"How to show a listings slider in GeoDirectory"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The old <code>&#091;gd_listing_slider&#093;<\/code> shortcode was part of GeoDirectory v1 and no longer exists, which is why it shows as plain text on the page. In current versions you make a listings slider with the GD &gt; Listings widget and its carousel option.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set up the slider<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add the GD &gt; Listings block, widget or shortcode to your page. It works in the block editor, WPBakery, Elementor and other builders.<\/li>\n\n\n\n<li>Choose the post type and, if you like, the categories to show.<\/li>\n\n\n\n<li>To show only featured listings, tick Show featured only? in the Filters settings.<\/li>\n\n\n\n<li>Set Posts to show to the total number of listings in the slider.<\/li>\n\n\n\n<li>In the Carousel settings, set With Carousel to Yes. You can also turn on the previous\/next controls and indicators, and set the interval and autoplay.<\/li>\n\n\n\n<li>Use Layout to choose how many listings are visible on each slide.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The same slider as a shortcode:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;gd_listings post_type=&quot;gd_place&quot; category=&quot;3&quot; post_limit=&quot;5&quot; show_featured_only=&quot;1&quot; with_carousel=&quot;1&quot; with_controls=&quot;1&quot; with_indicators=&quot;1&quot;&#093;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The carousel options are part of the current (AUI) design style, which is the default.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Images of a single listing<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To make a slideshow of one listing&#8217;s photos, use <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-images\/\">GD &gt; Post Images<\/a> with its type set to slider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All the GD &gt; Listings settings are explained in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-listings\/\">GD &gt; Listings<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The old &#091;gd_listing_slider&#093; shortcode was part of GeoDirectory v1 and no longer exists, which is why it shows as plain text on the page. In current versions you make a listings slider with the GD &gt; Listings widget and its carousel option. Set up the slider The same slider as a shortcode: The carousel options [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,422],"class_list":["post-2347","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-core-widgets"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2347"}],"version-history":[{"count":2,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2347\/revisions"}],"predecessor-version":[{"id":2613,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2347\/revisions\/2613"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2347"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2347"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}