Customization Of Plugin
-
In Plugin Details, it is mention under “JOB BOARD TEMPLATING” section regarding customizing the plugin.
After following all the steps, when I am changing the files of plugin in theme folder, changes are not reflecting.Please provide proper guidance regarding customization of plugin.
-
Sorry for the inconvenience.
Please make sure are you excluding the template directory or not? Also, share the directory structure that you are creating in your theme/child theme.
Regards,
Hi,
Thanks for your quick response.
The folder structure is as under:
themes->theme child->simple_job_board->files(folder & files of template folder of plugin)The directory structure that I am creating is in the child theme.
Let me know if any more details are needed.
-
This reply was modified 6 years, 9 months ago by
promact.
Please open the one of any file, in the file instructions there will a directory path to the theme overriding.
It seems like that you are including directory named as “templates” that must be excluded from the path. Kindly verify. If the issue still persists do write the complete structure
themes->theme child->simple_job_board->Write the complete path to file directory.
I need to make changes in only two files from the plugin for now.
1.plugins/simple-job-board/templates/single-jobpost/single-job-wrapper-start.php
2.plugins/simple-job-board/templates/single-jobpost/single-job-wrapper-end.phpTo Customize these files I have followed below directory path:
themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-start.php
themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-end.phpThere are no instructions mentioned in these files to customize them.
Currently, these files are not in use since the last update of the SJB plugin.
Instead, we are using the following files:
Simple-job-board/templates/global/content-wrapper-end.php
Simple-job-board/templates/global/content-wrapper-start.phpYou will need to put the aforementioned files in the following path for templating:
themes/theme child/simple_job_board/global/content-wrapper-start.php
themes/theme child/simple_job_board/global/content-wrapper-end.phpBest Regards
Thanks for your guidance.
I have to make some changes in the “Simple Job Board” plugin. For that I need to do changes in these files only:
themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-start.php
themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-end.phpPlease suggest how changes can be done to these files. I have tried above directory structure but changes are not reflecting.
We have mentioned above we are not using these templates file in our plugin anymore but forget to delete these files instead we are using following files’ wrapper structure for both job listing & detail page:
Instead, we are using the following files:
Simple-job-board/templates/global/content-wrapper-end.php
Simple-job-board/templates/global/content-wrapper-start.phpPlease add your changes in these files and do let us know if the problem still persists.
-
This reply was modified 6 years, 9 months ago by
PressTigers.
After following steps to do changes in plugin, do have to maintain a copy to the plugin in the plugins folder.
Direct changes in plugin profile are not allowed. As you will lose all of your changes when you update your plugin.
You just need to copy the above-mentioned file in your child theme using SJB templating feature.
Best Regards
-
This reply was modified 6 years, 9 months ago by
The topic ‘Customization Of Plugin’ is closed to new replies.