[wp-hackers] Looking for guidance on building on top of another theme
stas at nerd.ro
Wed Feb 22 22:52:07 UTC 2012
I can't see any reasons why you cant fork sandbox and send an email to the
original author mentioning your issue.
If he cares, he will reply back, if not, life goes on.
În data de Thu, 23 Feb 2012 00:49:13 +0200, Mike Walsh
<mpwalsh8 at gmail.com> a scris:
> This may be a bit of a stretch for wp-hackers but I can't think of (or
> find) a more relevant place to pose this question.
> About 3-4 years ago I built a couple themes based on Sandbox. Instead of
> depending on Sandbox as a parent theme, I included Sandbox into my theme
> development area using an SVN external reference. This worked well, my
> theme was stand-alone and I didn't have to answer any questions about why
> it wouldn't work because the parent theme wasn't present. The theme
> included most of the Sanbox files (in fact all but 2 or 3) by "including"
> them. Essentially I created a new file (e.g. author.php) which
> the original corresponding Sandbox file (e.g. my author.php did little
> than contain the statement "require('sandbox/author.php');). Some of the
> files (e.g. functions.php and header.php) added more code and
> and represent the bulk of my theme's functionality which sits on top of
> Fast forward a few years and things have changed. I really want to
> a new theme but in the interest of time, I need to update the current one
> to be compatible with WordPress 3.3 and PHP 5.3. I've incorporated all
> the changes (how options are stored, updated jQuery, Nav Menus, etc.) and
> everything seems to be working pretty well.
> However, the move to PHP 5.3 has exposed some issues in the original
> Sandbox code that PHP now complains about. These are all fairly easy to
> fix but I am not sure how best to fix them. I don't know enough about
> Subversion to know if there is a way to keep my reference to Sandbox
> the SVN external reference while still allowing me to "locally" update
> files and then SVN export the result so everything works correctly.
> What I am doing is similar but not the same as the Vendor Branch concept
> covered in the Subversion book.
> Any suggestions or pointers to articles would greatly be appreciated.
More information about the wp-hackers