Making Featured Listings Display First with Elementor Pro
This topic contains 7 replies, has 2 voices, and was last updated by Alex Rollin 5 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: featured listings, menu order, sorting
-
AuthorPosts
-
August 16, 2019 at 7:11 am #503327
First of all, thanks again for all the support, and unfortunately this is a bit of a complicated question, so bear with me.
Basically, we thought that GD was working more or less perfectly with Elementor in the sense that when we used the Elementor Pro “Posts” widget, set the Query to source: Businesses (our main GD CPT) and Order By: Menu Order, the featured listings would display first — but as it turns out this is not the case.
We had also used the Anywhere Elementor Pro “Post Blocks” widget to create a slider of featured businesses, that again we initially thought was working correctly when we set the query to Order By: Menu Order. But, we have come to find out (as soon as someone purchased a featured listing) that new featured listings would not appear in the slider using this method, and as such we have had to use manual selection to force the new featured listing into the slider.
The Question is, is there a custom taxonomy we can create with GD and apply only to the featured listings? We need something we can use in the query of both the “Posts” and “Post Blocks” Elementor widgets in order to make it a fully automated and integrated system; I.E. we don’t want to have to go into the “Post Blocks” slider and manually insert the new listing every time somebody purchases a featured listing.
We’ve made a video that goes into more detail and shows exactly what we’re talking about: https://d.pr/v/KDb5VA
Apologies for the long winded nature of the question but — as I’m sure you can understand — we need the system we’ve set up using GD and Elementor to be fully automated.
Hope you can get back to us soon,
Marmoset Digital Media
August 16, 2019 at 4:23 pm #503375Hello,
the best way to do that without customization is to create a single category that denotes a featured listing. Use the price package settings to exclude that category from free packages, and include that category in paid/featured packages.
Then add an instruction to the field description for the category field “For our paid listing owners, be sure to select “Awesome” category to take advantage of additional exposure throughout the site.”
You can then use typical wordpress features to include or exclude posts by filtering with categories.
August 21, 2019 at 12:51 am #504067Thanks! we’ve implemented all of your suggestions, works great.
Only thing is, we still haven’t figured out how to display all businesses in the archive page as featured first and then sorting by date. At the moment, it’s displaying the 5 featured businesses first, and then displaying all other businesses in a random order.
Is there a way to display the non-featured businesses by latest first without advanced customisation? Please let us know.
However, thank you so much for solving our first issue. Much appreciated.
August 21, 2019 at 5:30 am #504081Are you using GD Loop?
For GD Loop on the archive page you will need to adjust the sorting options for the CPT.
You can find those in CPT -> Settings -> Sort (tab)
Add Featured as a sort, then set the order to Descending (1 -> 0)
August 22, 2019 at 12:13 am #504276We’re actually using the Elementor “Archive Posts” widget because we don’t like the design of the GD Loop.
In sorting options, the default sorting option is already Featured > descending. Using this method, the featured listings display first but all following listings are displayed at random.
Are you sure there isn’t a way to get it to work using this method?
August 22, 2019 at 1:19 am #504280You can add additional ‘subsorts’ to sort the non-featured listings.
https://wpgeodirectory.com/docs-v2/places/sorting/#sub-sortAugust 22, 2019 at 7:17 am #504306Thank you so much, I had no idea you could do that!
Next time we’ll be sure to read the docs more carefully.
Thank you for your time and patience,
Marmoset Digital Media
August 22, 2019 at 8:44 pm #504446You’re welcome!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket