Home Forums WoodMart support forum Search Pages and Posts in Ajax search

Search Pages and Posts in Ajax search

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #375340

    hollistergj
    Participant

    I am using the woodmart search element in my header. The options are to search posts OR products. I want it to search Posts and Pages.
    I have installed relevanssi and indexed all posts and pages but still the only results that come up are posts. No pages show up in the results.
    How to I change the parameters that are being sent from this element from: /?s=cancer&post_type=post to anything else for post_type?
    thanks

    #375391

    Hello,

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #377717

    hollistergj
    Participant

    I figured out a solution. It looks like the Ajax search element in wpbakery vs the Search element in the header builder offer two different options. My Ajax wpbakery element doesn’t show the options for pages or all. So I just change value in code view for that element to “any” and my search is searching everything now.
    thanks!

    #377755

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Search Pages and Posts in Ajax search’ is closed to new replies.