WordPress search query with attributes

I have created a custom search form that populates with product attributes. The url generated is something like ?s=&post_type=product&pa_accreditation=19&pa_course-type=21&pa_date=9&pa_location=24, however, this returns all products and the attributes in the string are ignored.

How to add attributes to the search string.

Read More

Thank you in advance.

Related posts

1 comment

Comments are closed.