Hi
I was wondering if there is a way to query all posts and return the results using metabox but allow to do this via ajax? so I can use search and filtering via JavaScript to add in infinite scroll etc.
I know I can query posts via metabox, but is it possible to hook in ajax so I can update search results on the front end of the website? also caching would be a bonus too.
I can see you do this for object fields in the backend https://metabox.io/meta-box-updates-better-performance-for-object-fields-mb-core-and-new-settings-page/ but was wondering do you do the same for front end search result pages?
I can see there is a plugin called SearchWP but I am after creating my own scripts as I do not want to use 3rd party plugins.
Thanks
Nick