Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
David MURGANTE
0 points
Beginner
Hi,
I would like to change the default display order of search results, I use the plugin grdrts (vote plugin) and i would order my listings by number of votes.
I managed to do it for the home page by creating a shortcode [gdrts-listings] and it work perfectly.
This method does not work, I think class_search.php modifies the request, here’s what told me the plugin creator (gdrts):
MiLLan:
I am not sure what ‘advanced_search’ parameter is, but it is not part of WordPress. It is possible that you use some plugin for search replacement that is messing with the query. My plugin expands WP_Query WordPress uses for all types of posts queries, but if your search is using something else or modifies the query in some way to ignore changes added by other plugin, then I can’t help you with that.
Hi,
I would like to change the default display order of search results, I use the plugin grdrts (vote plugin) and i would order my listings by number of votes.
I managed to do it for the home page by creating a shortcode [gdrts-listings] and it work perfectly.
But for search results is more complicated…
I just tried to change the url:
https://www.liste-serveur-minecraft.fr/?s=&tx_version=0&acces–3=&advanced_search=yes&orderby=post_title&order=asc
to
https://www.liste-serveur-minecraft.fr/?s=&tx_version=0&acces–3=&advanced_search=yes&orderby=gdrts&order=asc
This method does not work, I think class_search.php modifies the request, here’s what told me the plugin creator (gdrts):
MiLLan:
I am not sure what ‘advanced_search’ parameter is, but it is not part of WordPress. It is possible that you use some plugin for search replacement that is messing with the query. My plugin expands WP_Query WordPress uses for all types of posts queries, but if your search is using something else or modifies the query in some way to ignore changes added by other plugin, then I can’t help you with that.
What would be the simplest solution?
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now