Support » Plugins and Hacks » [Resolved] single.php
2 years, 3 months ago
Hi, I am wanting to modify and display sidebar on the single job listing page.
I thought I might first override the content-single-job_listing template. However I understand that somehow uses my themes single.php template to display it.
I therefore think I want to modify single.php to basically hardcode in the sidebar. (i don’t think my theme plays too nicely with the plugin – the theme has its own page composer and custom settings)
single.php is currently responsible for my blog. Is there a way to get the plugin to use say single-jobs.php instead of using single.php?
Thank you, nice plugin.
You can create a single-job_listing.php to target only job posts.
Hi, thanks for quick response. Its the sidebar I need to change on the single job listing page. How do I do that without changing single.php (as single.php is used for my blog). Thanks.
Like I said, create and modify a single-job_listing.php instead. You can copy the contents of single.php to single-job_listing.php and remove anything you want.
Great thanks, i will try that.
Worked great thanks. 🙂