Skip Navigation

[Resolved] How to display suggested search results

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#873086

Hi!
Is there a way to display at the top of search results view a list of "suggested" results (maybe in a specific category or with a "priority" custom field) matching the search terms?

#873785

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Antonio,

Thank you for contacting our support forum.

Unfortunately no this is not possible because our plugins don't have a way to know how much times a particular post was view.

Thanks,
Shane

#875606

Hi Shane,
I didn't mean "popular posts", sorry if I explained myself badly.

Let me explain better: imagine a search page where a user search the term "house". Then the page displays all the results, as usual. But some of them appear at the top of the results list (maybe with a different css class) as "Suggested results" because they have been flagged as "Top priority contents" somewhere in the back-end.

Is it possible?

#876873

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Antonio,

Yes this is possible just create a custom field that will mark the post. For this you can use a single checkbox to mark these posts.

Then you can use our conditional shortcode to micro filter the results into those that are featured or not. You can also sort the view so that the relevant or featured results appear at the top of the view.

Please let me know if this helps.
Thanks,
Shane