With a combination of jQuery / JavaScript and WP AJAX; you could look for an onchange event on the select box, send an ajax request to your admin-ajax.php with the year and then do a custom WP Query to return the html for the secondary drop down and append it to your dom.
https://codex.wordpress.org/Plugin_API/Action_Reference/wp_ajax_%28action%29
http://api.jquery.com/jquery.ajax
Once it is appending you can target your new select box with an onchange event as well.
Related Posts:
- Custom post status not working
- Get custom post type by category in a page template
- Append taxonomy terms as class names in markup?
- How do you output custom code between posts in the loop?
- Weird problem happening with custom taxonmy when creating/updating posts
- How to customize a permalink (URL) structure?
- Different Category system needed for the Custom Post Type
- Creating a non-hierarchical Taxonomy that behaves like categories
- post_content is stripping HTML when adding a new post? [closed]
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- Foreach loop returning more than one item when querying taxonomy
- Function to erase every post from a taxonomy
- How do I ensure that post_type and Taxonomy use the same slug?
- set object terms after some some time of published post – functions.php
- update custom taxonomy custom fields
- Check that a slug is present in the get_terms request
- Assigning categories to custom post types via a front-end form; only works for native post type
- Change Search display for Custom Post Type
- Stored meta from attachment, video length?
- WordPress query posts by custom post type not workng
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Custom Loop for custom post type. Compare by meta_value?
- Inserting two categories
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- How do I append multiple taxonomies to the URL?
- Display a query with multiple post types and same relationship on a single page
- WordPress Custom Post Types with a page as a parent?
- Get Custom Taxonomy ID within loop
- clients list using wordpress
- Custom Taxonomy with Custom Post Type Finds No Posts
- Associating an “author” with a custom taxonomy
- Find callback function for custom taxonomy metabox
- Date archives for custom post type
- TV Show database – Best way for structuring it?
- How can I add dropdown widget/box to admin post page?
- Correct way to use a form to to filter custom posts by taxonomy terms?
- Showing current taxonomy terms
- Categories under custom post types doesn’t show properly
- White screen error for a custom theme
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- Ajax filter with custom taxonomies
- automatically create taxonomy with same name as post title
- Filter posts with ajax form and checkboxes
- Query posts by custom post type and custom taxonomy
- Automatically assign a custom post to a custom taxonomy based on custom field value
- Limiting number of custom posts shown on taxonomy page
- Custom Taxonomy conditionals
- Custom post type loops with different page templates
- Limit Authors to their Own Posts on front-end excluding admins
- How to get only one category of custom post type?
- Error after deleting Custom Post Type with a function (no trash used)
- Get all taxonomies for all post types
- After deleting a post are terms, and custom meta deleted?
- Show ACF field from custom taxonomy and display on the single template
- Best practice for adding posts in bulk
- WP 3.1 getting tax_query to work in query_posts()
- How to get Custom Post ID by adding filter to child theme’s function
- List terms from Custom Taxonomy
- Programmatically adding posts
- Keep main articles and author blogs seprerate, News / Magazine like site
- Why is my custom loop not filtering correctly nor paginating?
- Custom post types with custom directories
- WP_Query search posts by custom post type and custom taxonomy
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Loop through posts of a custom-post-type (event) and create .ics (iCal) file?
- How to customize admin posts based on the user who is logged in
- Output custom post shortcode. Help spot the error.
- Show Two custom Post type and their posts on category page
- How to create an advanced filter search?
- GravityForm: Populate Dropdown with custom post type [closed]
- How to output wordpress custom tags separated by comma?
- Loading all files within a directory
- Custom Post Types relationships
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- Get rewrite slug of custom post type in template
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- Insert HTML inside link in a walker
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- Custom Taxonomy Permalinks Redirection
- Remove standard meta boxes from custom taxonomy
- How to display selected taxonomies by their parent
- Custom Field Order by Last Name and First Name
- get_posts of Custom Post Type AND Custom Taxonomy
- What’s the difference between same wp functions get_posts(); functions in different form?
- Received nothing after executing AJAX post function
- Can I list a custom post type within another custom post type in the admin area?
- Get custom post type list for every category shortcode
- A question on creating filters for custom posts using taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- List custom taxonomy specific to one custom post type
- Set URL link to featured image of custom post type
- AJAX load more for different custom post type loops
- How do I move/order posts with a tag to the end?
- On update or create post redirect to current post position in list
- I need to add endpoint for wordpress categories
- WordPress sort search results by custom order
- 404 error when navigating to a taxonomy page with Cyrillic, what’s wrong?
- Get link for feed of specific post type AND taxonomy