Just adding onto here since this is the code I use on my website;
Is it possible to address this code to multiple custom posts types?
E.g. I have custom post types called ‘tv’ and ‘radio’, but I think it wouldn’t be wise to repeat the entire code in the functions.php.
Sorry if the question seems dumb but I know next to nothing about php.