{"id":2340,"date":"2026-10-20T08:32:18","date_gmt":"2026-10-20T07:32:18","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/show-featured-listings-first-elementor\/"},"modified":"2026-10-20T08:39:39","modified_gmt":"2026-10-20T07:39:39","slug":"show-featured-listings-first-elementor","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/show-featured-listings-first-elementor\/","title":{"rendered":"How to show featured listings first, including with Elementor Pro"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">GeoDirectory shows featured listings first when you add a Featured sort option to the post type and make it the default. A second, nested sort decides the order of everything after the featured listings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set featured listings to show first<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Places &gt; Settings &gt; Sorting (or the Sorting tab of your own post type).<\/li>\n\n\n\n<li>Click Featured in the list of available fields to add it as a sort option.<\/li>\n\n\n\n<li>Set the direction to Descending, tick Default sort and make sure it is active, then save.<\/li>\n\n\n\n<li>To order the rest of the listings, add another field such as the publish date or Title and drag it under Featured so it becomes a nested (sub) sort. Save again.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Nested sorts aren&#8217;t shown to visitors as separate options. They only break ties, so with Featured first and date nested underneath, featured listings come first and all other listings follow, newest first. Without a nested sort the non-featured listings have no defined order. <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/changing-or-adding-new-sorting-options\/\">Changing or adding new sorting options<\/a> has more on the sort builder.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Elementor Pro archive templates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On a GeoDirectory archive template, use the Archive Posts widget with its query left on the current query. That way the page uses GeoDirectory&#8217;s own query and the default sort above applies. GeoDirectory adds a GD Archive Item skin to the widget so each listing uses your archive item design. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/builders\/how-to-set-elementor-pro-archive-posts-widget-to-use-a-gd-archive-item\/\">How to set Elementor Pro Archive Posts widget to use a GD Archive item<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sliders and custom queries<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Elementor Posts widget (and similar widgets from other add-ons) builds its own WordPress query. The featured flag is stored in GeoDirectory&#8217;s listing table, not as post meta, so these widgets can&#8217;t sort or filter by it, and ordering by menu order won&#8217;t pick up new featured listings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the GD &gt; Listings widget for these sections instead. It can be added to any Elementor page and:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Show only featured listings: tick Show featured only? in the Filters settings.<\/li>\n\n\n\n<li>Put featured listings first: choose your Featured sort option in Sort by.<\/li>\n\n\n\n<li>Show them as a slider: set With Carousel to Yes.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;gd_listings post_type=&quot;gd_place&quot; show_featured_only=&quot;1&quot; post_limit=&quot;8&quot; with_carousel=&quot;1&quot; with_controls=&quot;1&quot;&#093;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>GeoDirectory shows featured listings first when you add a Featured sort option to the post type and make it the default. A second, nested sort decides the order of everything after the featured listings. Set featured listings to show first Nested sorts aren&#8217;t shown to visitors as separate options. They only break ties, so with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[421,213],"class_list":["post-2340","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-core-features","gd_placecategory-extensions-features"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2340","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=2340"}],"version-history":[{"count":2,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2340\/revisions"}],"predecessor-version":[{"id":2610,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2340\/revisions\/2610"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2340"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2340"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}