• Resolved ktmkiddy

    (@ktmkiddy)


    I’m typically using the following to filter posts:

    search=”-accidents,-congestion,northbound”

    This correctly returns all posts without the words “accidents” and “congestion” but containing the word “northbound”.

    However, I cannot get search to work to include two words. For example the following OR search.

    search=”northbound,accident”

    Does not work for me, always returns blank. Any ideas if you can use the search parameter with two or more words?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ktmkiddy

    (@ktmkiddy)

    Anyone anyone?

    Plugin Contributor zymeth25

    (@zymeth25)

    When you include more thatn one search term, wordpress runs an AND search, not OR. That is probably the reason for what you are seeing: there are no posts with both search terms present.

    This is default wordpress behavior that the LCP plugin hooks into. The plugin contains no workarounds for this right now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search Query’ is closed to new replies.