Sorting featured listing doesnt seem to work
This topic contains 26 replies, has 4 voices, and was last updated by Guust 8 years, 9 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 10, 2016 at 4:34 pm #206519
I have gone into ‘tradesperson settings’ (as this is my custom post type) I want any featured listings to appear at the top of the results so I have selected ‘featured’ then double clicked on it and ticked the radio button marked ‘set as default sort’. However the featured listing appears at the bottom when I search on the front end (I have marked ‘bob the builder test as featured and I can see it has a banner on the logo stating featured so I know its definitely being recognised as a featured add) I feel like I have just missed something but after reading the documents etc I cant seem to figure it out?
June 10, 2016 at 4:36 pm #206521This reply has been marked as private.June 10, 2016 at 5:01 pm #206535Hello,
Please only post once on the forum for the same topic (i have deleted your other post)
You simply needed to set it to order as “Ascending”(top down) and not “Decending”(bottom up)
I have made this change for you now.Thanks,
Stiofan
June 10, 2016 at 7:59 pm #206666Thanks for getting back to me so quick, and sorry I didn’t mean to post it twice! I’ve just tested it again and bob the builder test (the featured listing) is still showing at the bottom? (See print screen attached)
Also I have amended the search default distance to 10 Miles from 40 in the ‘advanced search’ section but that doesn’t seem to make any difference, I still get profiles showing up more than 10 miles away. I found another section under general>>>search if I put 10 miles in there, then it only shows profile within 10 miles (great) but if I try and change the distance to more (on the front end of the website in the search function) that doesn’t seem to make any difference? I’ve also noticed that for some reason I don’t seem to be able to type in a town or a postcode to search from, it just keeps coming up with no results I can only search from ‘near me’
June 10, 2016 at 8:01 pm #206668See attached print screen
June 10, 2016 at 8:04 pm #206669See attached… If this one works
June 11, 2016 at 12:19 am #206713Sorting is only for the Listings pages, not the search pages. Visitors expect the most relevant results for their search,, and that is how they will be ordered; that cannot be changed for search results.
Do the results showing are more than 10 miles away of the center of the location you entered? See https://wpgeodirectory.com/docs/core-design/#how
I also added the location switcher and activated the Advanced Search options to make your site more user friendly. You can change them if you like. But now you can see that your locations do not follow the Google API format, see https://wpgeodirectory.com/docs/definitions/#location
June 13, 2016 at 2:38 pm #207737Hi Guust, thanks for getting back to me, the profile in question I have been testing on is ‘bob the builder test’, I am currently in Ludgershall UK, ‘bob the builder test’ profile is in Reading uk. If I search for a builder (whilst I have the ‘geo directory>>>general>>>>>search’ set to 40 miles) bob the builder test profile appears and it states it is 30.98 miles away from me despite the fact under ‘geodirectory>>>> advanced search>>> default near me miles’ is set to 10. Also if I click on the compass (on the front end) and change the distance in there to 1 mile, or 200 miles this makes no difference to the search results at all.
It seems as if the ‘geodirectory>>>> advanced search>>> default near me miles’ and the option to select how many miles away you choose on the front end (when you click on the compass) just don’t seem to be doing anything at all?
In terms of address format you’re right, there are some profiles which don’t have the correct address format as they were early test profiles for modifications I have done, all new profiles do have the address in the correct format but I simply haven’t gotton round to deleting all the early test profiles yet. However the profile in question ‘bob the builder’ test was created before any mods took place so there is no way it can have the incorrect address format…
Another thing is that if I click on ‘change location’ on my phone it brings up an error, my understanding is that you should be able to type a town, city or postcode into the ‘near’ box and it will search that location?
Lastly you mention that featured listing won’t appear at the top of the search results page, only on listing pages… So in my case if you want a builder and type builder into ‘search for’ I want it to bring up all the profiles in the ‘builder category’ within a certain range (should be 10 miles but I’m having issue with that as mentioned above) and to display the featured listing first, are you telling me that geo directory does not support that? (not an issue if it doesn’t although it seems like as standard it should do this, maybe an idea for an update? If it doesn’t though then I’ll ask my developer to add this in as a mod)
June 14, 2016 at 3:52 pm #208415Hi,
the ‘geodirectory>>>> advanced search>>> default near me miles’ settings has only effect when being GeoLocated (yoursite.com/location/me).
On normal searches the radius used is geo directory>>>general>>>>>search so that is normal.
About the featured on top for searches, that will only happen for blank searches. If you enter a keyword it will sort by relavance and if you enter a location in the near me field, it will sort by distance, so making the featured appear on top, would provide confusing results.
Hope this explains better how GD works.
Thanks
June 15, 2016 at 5:26 am #208742Thanks Paolo, ok I understand the featured listing set up now, I’ll ask my developer to create a mod for my website to Make it work for my needs.
In terms of the search function though I allow the website to get-locate me then search for builder and it still brings up ‘bob the builder test’ (30 ish miles away) despite that fact I have the advanced search set to 10 miles. If I click on the compass (on the front end) this also shows as default set to 10 Miles, and if I adjust the range it makes no difference to the search results (if I adjust to 200 miles no additional profiles are shown and If I adjust to 1 mile no profiles are removed). If I type another city or postcode into the ‘near’ box as well I just get a message stating no listings found despite the fact there are profiles within the towns I have searched for?
June 15, 2016 at 4:14 pm #209004Hi,
I’m not able to test GeoLocation on your website, because I can only emulate your position with Chrome and Chrome currently requires a secure werbsite to provide GeoLocation.
Please see: https://wpgeodirectory.com/adding-a-ssl-certificate-to-your-website/
Once you add a SSL certificate and make sure your website is serving all content via HTTPS we will be able to test it.
Let us know,
Thanks
June 15, 2016 at 8:40 pm #209179Thanks for the info on SSL, I’ll get a certificate tomorrow and get back to you so you are able to test geolocation.
June 16, 2016 at 12:19 am #209278Let us know when you are ready.
Thanks
June 16, 2016 at 4:53 pm #209766Hi Paolo,
Just to let you know I now have the SSL on the website so you should now be able to test it…
Miles
June 16, 2016 at 10:37 pm #209985Hi,
I’ve flagged this topic for the developers, they will test and let us know asap.
Thank you!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket