Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble I have created a filters for my custom post type universities using ajax #584

Open
uzairlucki opened this issue Jul 11, 2020 · 0 comments

Comments

@uzairlucki
Copy link

I have created a filters for my custom post type universities using ajax.
I have used a shortcode and then getting the result using the ajax request. The filters are working fine on universities page.
But I want to search for universities from homepage using a form and passing arguments to the universities page. When clicking on submit the page redirects and it shows a 404 not found error. While when refreshed is it redirected to universities page but without the list of arguments.
I think there may be a way to pass arguments to the universities page. I used get_posts() on universities page to query result.
May be query_var. I am not sure. A little help or guidance will be very helpful.
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant