Support » Themes and Templates » Submit a query from a form

  • I have a CPT ‘university’ associated with a CPT called ‘city’. The CPT ‘university’ has a taxonomy ‘courses’ with terms like “math” and “physics”. I’d like to create a form where users can select a ‘course’ in a ‘city’ and submit a query like:

    site.com/? courses=math&meta_key=_wpcf_belongs_city_id&meta_value=27&post_type=university

    I can loop through the post types and taxonomies to build my form with ID’s and terms as values just have no idea how to submit that in ways wordpress will load the archive-university.php with the query above.

    Any kind help? Thanks in advance!

  • The topic ‘Submit a query from a form’ is closed to new replies.