php - Wordpress Two themes with same name -
I would like to develop a wordpress theme, a main development trunk for small changes and a branch for the next page release. Is using. So I checked my SVN trunk directory in wp-content / themes / themename-trunk
and wp-content / themes / themename-branch
.
The theme is then chosen by the user-based plugin.
Now, WordPress uses the CSS comment to display the name of the theme. Obviously, WP does not use the directory name for the difference between subjects internally; I definitely do not want to change the name line in style.css beacause otherwise it will cause disturbances in my SVN files and easy switching impossible will do it.
Do you have another strategy for Combining WP's theme development with a multi-programmer SVN environment without maintaining a second WP installation?
Have you tried using the Custom 1.8 client with custom?
e.g. Set the $ themename $
keyword in the theme's CSS for the theme name and specify the keyword in "wp-content / themes / themename-trunk" and in the CSS file < Em> according to "wp-content / themes / themename-branch" "themename-trunk" and "themename-branch" in the css file $ themename: themename-branch $
As is being expanded. You can later change the keyword in the actual name of the subject.
PS may possibly be missing out on some pretty and more obvious solutions (using example), but thought of the keywords as possible soltons.
Comments
Post a Comment