Your search is in good hands

  • Pricing
  • Documentation
    • User guides
    • Support
    • Features
      • Roadmap
      • Artificial Intelligence
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Weaviate
      • Hosting
      • Addons (Plugins, themes, features)
      • Releases
    • Blog
  • Demo
    • All Demos
    • Testimonials
  • My Licenses
    • Login
    • Why us
    • Contact us
Menu
  • Pricing
  • Documentation
    • User guides
    • Support
    • Features
      • Roadmap
      • Artificial Intelligence
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Weaviate
      • Hosting
      • Addons (Plugins, themes, features)
      • Releases
    • Blog
  • Demo
    • All Demos
    • Testimonials
  • My Licenses
    • Login
    • Why us
    • Contact us

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

Search results - Default sort

479 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
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