I have custom post type of an animal type. (I.E I created an animals collection).
I want to give the user a drop down to select the gender and filter the displayed custom post types entries accordingly.
Right now the gender is a custom field but I can change that if there is a better approach.
I already managed to display my collection by creating an archive-animal.php.
How can I do that? I know to code but new to WordPress.