How to cleanup web site and unused template files
-
Hi,
I’m taking over the maintenance of a WordPress website developed by another programmer. I have only basic familiarity with WordPress but good skills with HTML, CSS, PHP, and SQL. I’ve been poking around the site and it looks messy (or at least messier than I’m used to). I’m familiar with the approach of creating a child theme with customized page templates and CSS to customize a WordPress site… that’s good practice, right?
In the wp-admin theme settings, it says: “Current Theme: Twenty Eleven”. But looking in the “wp-content/themes/” folder, the files are actually in a folder called “abc”. This folder contains LOTS of files, so I think the original developer copied the entire 2010 theme and then just modified whatever files he needed.
1. With child themes, I’m used to seeing only the files that were overridden. I would like to clean up the current state of affairs, but how would I know which files are being used or not? Using the wp-admin to edit pages, I can see that all the pages are using the “Default Template” (even though the dropdown list contains a bunch more options). But there are lots of pages… is there any way to see a list of all the files being used so I can delete the others?
2. Would anyone suggest converting this into a child-theme?? Is it safe to do so, or do I risk breaking something for little benefit?
Thanks for your help, and I hope by the end of this I’ll be that much closer to loving WordPress. ??
- The topic ‘How to cleanup web site and unused template files’ is closed to new replies.