do stuff if is custom post type, on admin view
I’m looking into editing the backend, and would like to have a date picker for the title field, but only for custom post type called recommendations.
I’m loading an extra js file to do it (from functions.php), but can’t target the recommendations post type.
This isn’t working:
What sort of conditional statement I should use?
Thanks for all the help 🙂
- The topic ‘do stuff if is custom post type, on admin view’ is closed to new replies.