If the directory of a theme is named with non-capitalized letters (e.g. "mytheme", and "Theme Name" is set to a name with different capitalizing (e.g. "MyTheme") in themeconf.inc.php, the theme can not be set as a personal theme for a user (in Customize). The theme can still be set as a default theme though.
I have not tried to make the two names totally different. Though I assume the result will be the same.
Easy workaround is of course to keep these two names the same. But as far as I know, it is good habit to keep directory names with non-capitalized letter. Though you most often want the theme name capitalized.
Also, many existing themes on piwigo.org is suffering under this issue.
/Djelle
If the directory of a theme is named with non-capitalized letters (e.g. "mytheme", and "Theme Name" is set to a name with different capitalizing (e.g. "MyTheme") in themeconf.inc.php, the theme can not be set as a personal theme for a user (in Customize). The theme can still be set as a default theme though.
I have not tried to make the two names totally different. Though I assume the result will be the same.
Easy workaround is of course to keep these two names the same. But as far as I know, it is good habit to keep directory names with non-capitalized letter. Though you most often want the theme name capitalized.
Also, many existing themes on piwigo.org is suffering under this issue.
/Djelle
<!-- github-sync-id:523856344 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
If the directory of a theme is named with non-capitalized letters (e.g. "mytheme", and "Theme Name" is set to a name with different capitalizing (e.g. "MyTheme") in themeconf.inc.php, the theme can not be set as a personal theme for a user (in Customize). The theme can still be set as a default theme though.
I have not tried to make the two names totally different. Though I assume the result will be the same.
Easy workaround is of course to keep these two names the same. But as far as I know, it is good habit to keep directory names with non-capitalized letter. Though you most often want the theme name capitalized.
Also, many existing themes on piwigo.org is suffering under this issue.
/Djelle