Don’t have the direct answer myself, partially because I don’t know what you want to filter for. But did you check how some of the plugins do it? Here are two examples: Filter page by template, Parent page filter.
As for your second question, not sure if that’s possible. That also depends on how you have connected the form to the custom post type. You might have more luck creating separate questions and add more details.
Related Posts:
- Front end post editing using a form
- Assign single template to multiple custom post types?
- Get posts based on meta key/value
- Set relationship between custom_post_types
- How to list custom taxonomy categories?
- How to intercept publish post for a custom post type “event”
- clients list using wordpress
- How to add relationships between custom post types?
- Custom taxonomy query for a custom post type
- How to do a custom bookmarks post type?
- How do I add media to a custom post type?
- Is flush_rewrite_rules necessary when creating a custom post type? Why?
- Custom Post Type – Archive page title
- [Plugin: Posts 2 Posts] Changing display order of connections
- How to display Custom Taxonomy of Custom post type
- Custom Post Type Meta Boxes
- Change message given when deleting post from custom post type
- associate custom post type with tags with specific pages
- how to alter args of a custom post type
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- How to display recent posts added in several custom post types
- Help with CPT template pagination
- Get categories and descriptions from custom post type
- Dynamically add / duplicate custom meta in custom post types
- Comprehensively Restrict Post Type Taxonomy to Logged-in Users
- Custom post template for particular posts
- Custom Post type and Custom Field WP_Query
- Repeating posts when paginating random posts
- Order By Post Type ThenBy Taxonomy
- How to show CPTs in term archive
- Custom query to filter posts that have current post as a taxonomy [closed]
- custom post type not showing in menu
- Query/list all terms and their custom post count
- How can I make a custom post type sticky?
- Custom Post Type Dynamically Updates other Custom Post Type
- Pagination on with query_posts in custom post type template
- Get Taxonomy Term Title by it’s URL
- How to change wp prefix for custom post type only?
- How to handle paged param in post and custom-post-type?
- Number of Custom Post Types published are not being shown in the custom page
- Using meta_query and tax_query at the same time
- Post Type rewrite rule to point to custom Page/template
- Load Custom_post_type categories post with ajax
- sub CPT and CRUD
- Post author for revision not being set on update/insert
- Filtering results for post_type tells me I don’t have permission
- How to add multiple markers on the google map, at a certain meta_key and meta_value
- Why is my WP_Query outputting my entries twice?
- Optimise WP custom post type query
- Custom Post Type with Custom Taxonomy as Category
- WP_Query() with custom post type and taxonomy — get all terms?
- How do I get the custom category URL from the custom post type?
- Associate all Custom Post Types with Taxonomy
- Is it possible to use array_walk() to append terms to an array of posts?
- Enabling permalinks disables custom page template
- Easier way to display custom post meta?
- pre_get_posts works in post type archive but not in single post
- 4 posts per page from single category
- Copying over taxonomy structure from one CPT to another
- Returning an image url from its attachment ID using a custom post type plugin
- CMS – User confusion when creating new page and having to select template and save first to see correct fields
- Can I set the post_type query_var as a link is clicked?
- Disable permalinks, but allow RSS feeds
- Remove cpt slug from url and use custom taxonomy instead breaks all other cpt
- Put featured image under post title in admin area
- How to limit the number of custom posts certain users can publish in WordPress using php script?
- Changing CPT permalink
- Using wp_insert_post for one custom type inside another custom post types’s save function – big problem
- Issue on Getting URL of Uploaded Image to a Custom Post Type
- Add liked posts to user account
- Dropdown with CPT terms redirects to 404
- Load custom post type with ID in a shortcode
- Missing permalink for custom post type
- Error when moving custom post type to bin
- filter the title changed also the page titles
- automatic creation of custom post type articles
- Columns depending on posts count
- How to Show all Values in category.php page using post_type
- Display a Custom Post Type within another with hierarchically slug
- Decrement term in for each
- Custom Post Type and Taxonomies, creating the corresponding template file and loop the data
- Excerpts and Custom Post Types
- Redirection error after posting a comment on a custom type post
- Redirection loop error after login from a custom post type post
- Having some trouble properly displaying Custom Post Types in templates
- Get term_id for each instance of custom taxonomy
- Customizing the display of custom post types
- Using predefined html in new posts
- install.php Custom Taxonomy Term not being added to custom post
- How to retrieve taxonomy terms of the current custom post?
- Display custom posts in checkbox list
- Change display wp post type to wp custom post type
- Restrict editing of a custom post type based on status and user capabilities
- How is get_the_author connected to a custom post type?
- Get custom post type parent category
- how insert how many post type in this function?
- add_filter > posts_where works partially
- How to create custom page templates with default page layout framework?
- Possible to limit internal link search to post types with Gutenberg editor?
- Taxonomy Archive URL + Template