I’m trying to add a short notice (generate_before_content) on a CPT (job_listing) for a specific category (Jobs for Youth or jobs_for-youth). I’ve tried something like this below with my job category but it’s not working:
Right now it’s using the default single page template. So if i was to assign all jobs to one of my existing layout elements it would take effect? Curious to know why, if I select a specific job, it will work using the default page template.
It’s single. I’m using a job listing plugin (WP Job Manager) that creates the category taxonomy out of the box but it’s not visible when selecting Jobs. Oddly, other taxonomies I’ve created for the CPT on my own are visible, so I’m not able to select category. So I thought I might be able to use a little php to do so.