Duplicative Templates
-
So, I love the whole themes concept; it works great and all, but I do have one (small) issue with it. If I make modifications to a theme—the sidebar for instance—by adding in non WP-managed links, links to Bloglines, or whatever; in order for these to be persistent across multiple themes (if I wanted to provide several themes for my users to choose between), I would have to duplicate this code across every available theme and update it in each theme package everytime I wanted to make a change.
Code duplication is Bad ™ So what can be done about this? Any solutions that jump to mind? I suppose I need a file that stores custom adjustments to a WP template that exists independently of the theme structure, but that each theme can call on at will.
That sounds great, but I wouldn’t know where to begin, my knowledge of the WP architecture being shaky at best. Any suggestions?
- The topic ‘Duplicative Templates’ is closed to new replies.