21 pointsStarting to get into this DEV thingI'm new here
Alan
Member
—
1st December 2009 (2 years ago)
OK I know this is probably a stupid question but this is just me making sure.
I need to create a new "version" of the Nelo theme. Simply renaming the folder and css won't do the job, as far as I know you have to rename the theme in the functions.php as well.
The reason I ask is we want to keep things on the site uniform by using the same theme sitewide, but there are changes that need to made to the child blog versions of the theme.
I want to rename the theme to "Nelo2". Could someone please verify wich files I need to edit in order to create a theme called "Nelo2"
OK I know this is probably a stupid question but this is just me making sure.
I need to create a new "version" of the Nelo theme. Simply renaming the folder and css won't do the job, as far as I know you have to rename the theme in the functions.php as well.
The reason I ask is we want to keep things on the site uniform by using the same theme sitewide, but there are changes that need to made to the child blog versions of the theme.
I want to rename the theme to "Nelo2". Could someone please verify wich files I need to edit in order to create a theme called "Nelo2"
Responses (4)
Erstwhile founder — 1st December 2009 (2 years ago) #
Hiya,
I believe you've mentioned everywhere you would have to change the name (directory, stylesheet, and functions.php).
Thanks,
Andrew
Lead Developer — 1st December 2009 (2 years ago) #
I don't think you need to touch the functions.php file.
Just rename the folder and header of style.css:
Theme Name: Nelo
to
Theme Name: Nelo 2
Erstwhile founder — 1st December 2009 (2 years ago) #
Some of our themes have the theme name defined in functions.php. Ex:
$themename = "WPMU-NELO ";
I looked through the file though and it seems that it's only used for messages and the like. So it's not really a required edit.
Thanks,
Andrew
Member — 1st December 2009 (2 years ago) #
Thanks very much for the replies. I'll make the required changes.
Thank you again.
Become a member