Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter genbeyond

    (@genbeyond)

    Okay, I got it to kind of work using this:

    [pass global=query fields=s]
      <h1>Search Results for: {S}</h1>
      [loop type=post]
        [if field=title,content contains='{S}']
          <div>
            <h2>[field title]</h2>
            <div>[field content]</div>
          </div>
        [/if]
      [/loop]
    [/pass]

    It’s not a perfect replication of an actual WordPress search, but it’s good enough for me. Thanks!

Viewing 1 replies (of 1 total)