Search: AI, Hybrid, Classic

  • WPSOLR PRO
  • Contact Us
  • Live Demos
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Blog
Menu
  • WPSOLR PRO
  • Contact Us
  • Live Demos
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Blog
Download WPSOLR FREE at wordpress.org >>
Search

Home » Actions and Filters (Hooks) » Search results – Default sort

Search results - Default sort

502 views 0 October 12, 2016 Updated on July 13, 2019

Name


WPSOLR_Events::WPSOLR_FILTER_DEFAULT_SORT


Short description

Default sort when no sort is selected.

Long description

You want to change the default sort on the front-end.

Cinematic of WordPress filter to add a default sort when none is selected during search
Cinematic of WordPress filter to add a default sort when none is selected during search



Examples

Search in the plugin's code (we eat our own dog food).

Was this helpful?

Yes  1 No
Related Articles
  • Video – WPSOLR PRO + ACF PRO + Choice Types + TwentySixteen + Elasticsearch
  • Search results – Replace facets HTML
  • Search results – Replace the default WP search by WPSOLR search
  • Index – Sanitize value
  • Search query – Query
  • index – embedded files

Didn't find your answer? Contact Us

Previously
Search results – Replace the default WP search by WPSOLR search
Up Next
Search results – Javascript parameters
Expand All Collapse All
  • Actions and Filters (Hooks)
    • Index - Custom fields
    • Index - Document
    • Search results - Replace facets HTML
    • Index - SQL statement
    • Search results - Posts
    • Search results - Custom html
    • Search query - Fields list
    • Options - Custom fields
    • Options - Solr dynamic field types
    • Options - Default sort list
    • Search results - Sort fields
    • Search results - Replace the default WP search by WPSOLR search
    • Search results - Default sort
    • Search results - Javascript parameters
    • index - embedded files
    • Search query - Query
    • Index - Sanitize value
Login
Support
Privacy policy
  • Terms and Conditions
  • © 2020 wpsolr.com. All Rights Reserved.
Youtube
Roadmap