[wp-hackers] Theme and Plugin Integration

David House dmhouse at gmail.com
Sun Apr 3 11:23:46 GMT 2005


Or we could bundle a little shell script with WordPress that installs
a theme. It would do something like:

1. Extract theme from archive (JAR format? It's portable) into a
temporary directory
2. See if there's a 'plugins-deps' directory inside the theme archive
3. If so, move all the files in the plugins-deps directory to wp-content/plugins
4. Copy the rest of the files into wp-content/themes/<theme-name>.

-- 
-David House, dmhouse at gmail.com


More information about the wp-hackers mailing list