Load a certain functions file for a certain taxonomy
I think there’s three things going on with your code. The first is that you’re passing a numeric string as the first parameter to has_term(). If you’re trying to pass the term ID to the function, you should remove the quotes from ’16’ and just pass 16, i.e. as integer. https://developer.wordpress.org/reference/functions/has_term/ The second is that … Read more