🎨
Documentation - Ajax Search Lite
Get the PRO version!Download the Lite version for FreeDevelopment
  • Ajax Search Lite for WordPress documentation
  • Search Shortcode
    • Shortcode as a menu item
  • General Options
    • Sources and Basics
    • Search logic
      • Search logics explained
    • Triggers and redirection to results page
    • Results page live loader
    • Ordering
    • Autocomplete & Keyword Suggestions
  • Image Settings
  • Frontend search filters
  • Layout Options
    • Theme and Customization
    • Results layout and fields shown
    • Results box behavior
    • Keyword highlighter
  • Advanced Options
    • Title and Content fields
    • Advanced Title and Content fields
    • Keyword Exceptions
  • Compatibility Settings
    • Javascript Compatibility
Powered by GitBook
On this page
  • Searching posts, pages and any other custom post types
  • Searching titles, contents, excerpts and other fields
  • Searching in custom fields
  • Searching by categories, tags and other taxonomy terms
  • Post statuses and password protected posts

Was this helpful?

  1. General Options

Sources and Basics

Searching custom post types, selecting fields to search, post statuses etc..

PreviousGeneral OptionsNextSearch logic

Last updated 4 years ago

Was this helpful?

Searching posts, pages and any other custom post types

To search custom post types, drag the post types from the left side of the container to the right side.

Searching titles, contents, excerpts and other fields

On the same options panel, scroll down to select which fields to search within.

Searching in custom fields

You can either choose to search all custom fields, or search and select which custom fields to search within.

For selecting custom fields, first turn off the Search all custom fields? option, then enter the custom field name to the search field - then drag it to the right side of the option.

If the custom field name does not appear in the list (like some Advanced Custom Fields ACF fields after creation), that means it is not yet have been assigned a value. When you create your first post with the newly created fields, and assign a value to it, it will appear in the list.

Known custom fields

  • _sku - WooCommerce product SKU field

Searching by categories, tags and other taxonomy terms

By turning on the Search in terms? option, the search within taxonomy terms (for posts and post types) is enabled.

Post statuses and password protected posts

By default password protected published posts are returned. You can add post statuses to the list (comma separated!), as well as turn off displaying password protected posts.

Custom post types option
Searching all custom fields