WordPress.org

Ready to get started?Download WordPress

Forums

Submit a query from a form (1 post)

  1. TiagoPires
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic