Here is the problem: I need to add a taxonomy parameter (category) to this custom field so that it limits the number of posts that are included in this select. I’ve tried many times, but I do not know how to properly code it.
For example: My post type is ‘game’, and I need to limit it to say a category of ‘baseball’.
Where “taxonomy_name” is the name of the taxonomy and “term_name” is the name of the term (baseball).
If you want, you can always create a Page Link field from the backend and export it to PHP code from “Custom Fields > Tools” (PRO version) or “Custom Fields > Export” (Free version). That way you can see the code layout you need to update your code.