Is there any way we can conditionality load different jobs template?
Like <?php get_job_manager_template_part( ‘content-jobster’, ‘job_listing’ ); ?> instead of <?php get_job_manager_template_part( ‘content’, ‘job_listing’ ); ?>.
Right now I have created a different shortcode, I have extended just the WP_Job_Manager_Shortcodes class.
For certain pages I want to have a different layout for [jobs] shortcode. So that it will not be modified for other pages. I am doing like this. I am not sure whether it is the best way to do? https://gist.github.com/kishoresahoo/e9662d27d2a7dfed5c143e7790d2951b
- You must be logged in to reply to this topic.