Editing plugin files in Child Theme
-
Hello, I am currently working on a wordpress website which is using quite a few plugins (bbPress, GravityForm, WooCommerce, SupportCandy, and others…)
Now I’d like to edit some files inside these plugins, and I know that editing theme directly in the “wp-content/plugins/” folder is NOT the way to go, therefore I’ve created a child theme for my website (until there everything is clear).
The method I’m currently using to edit the plugin files is that I copy the file I want to edit inside my “wp-content/plugins/” folder, and I paste it in my “wp-content/themes/childTheme/” folder, and it works well !
But the thing is as I said I’m using quite a few plugins therefore my “wp-content/themes/childTheme/” folder is getting quite messy and might not be clear for future devs to come after me.
What I’d love to do then is to have my plugin files organized in folders in my “wp-content/themes/childTheme/” directory for it to be more clear (for example have a “bbPress” folder, a “supportCandy” folder, etc…)I’ve tried importing the entire template folders of my plugins inside my childTheme folder, but it doesn’t work, it seems like the files need to be located directly at the root of my “wp-content/themes/childTheme/” folder.
Does anybody know a way to fix this problem and organize my childTheme files better? Any information would be appreciated ! ??
- This topic was modified 4 years, 7 months ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Editing plugin files in Child Theme’ is closed to new replies.