We are using a plugin to add a job board to our site that is under development, mp.adcreview.com. The plugin is Job Board Manager.
The issue we are having is the dynamic job post pages that are created by the plugin are not appearing correctly. You can see an example here:
https://mp.adcreview.com/job/sr-director-vice-president-upstream-biologics-development/
It seems the issue is being caused by the custom footer page we created (mp.adcreview.com/footer). When I use the standard footer template the page appears correctly.
I’m working with the plugin developer to come up with a solution. Is there another PHP file that controls the custom footer other than the main footer.php file. Any thoughts on how we could solve this plugin conflict?
Hello !
The footer files can be found in the | wp-content\plugins\td-composer\legacy\Newspaper\parts\footer | here: https://www.screencast.com/t/JcvEQJ9KIeUR
Thank you !
Thank you Vlad. I found the action hook in the footer.php that is pulling in the job description in place of the footer do_action('tdc_footer') but when I comment this out it breaks the footer.
What I don’t understand is why this Job plugin will work if I use one of the standard footer options, but when I use a custom footer, it breaks – resulting in the job post appearing twice on the page, replacing the custom footer. Here is a link to a job post so you can see what I’m talking about: https://mp.adcreview.com/job/process-development-engineer-associate-experience-will-dictate-exact-title/
Is there a way to call the custom footer, similar to how you call the standard footer templates that could resolve this?
Hi Simion,
Good news, I was able to resolve this with the plugin developer last night. I’d like to share the solution here (in case someone else has similar issue with this plugin) and get your feedback whether this solution will impact anything else on the site.
First to answer your questions, the plugin (Job Board Manager) creates a post for each job. So adding a job is similar to adding a post but with custom fields.
The solution was to comment out line 75 and 76 in the td-composer/legacy/newspaper/footer.php file via the plugin editor and add the following two lines in its place (thank you Nur from Job Board Manager).
$post_content = do_shortcode($footer_page->post_content);
$content = str_replace( ']]>', ']]>', $post_content );
Please let me know if you think this will cause any issues elsewhere – so far the site is working great.
Shaun