To obtain the files needed for creating a custom theme, connect to the server through SSH (on Linux) or a Remote Desktop connection (on Windows), and use the command line utility `branding_theme`. The utility packs all the necessary files into a single ZIP archive.
Where `` is the path to the file to which Plesk will write the default theme package in the ZIP format.
On Windows systems, you need to specify an absolute path to the file, for example: `c:\tmp\custom_theme.zip`.
Example:
To retrieve the theme previously customized and uploaded by the server administrator, run the following command:
Where `` is the name that you assigned to the theme when created it.
Example:
To retrieve the theme previously customized by a reseller, run the following command:
Example:
Note
If you access Plesk at the reseller level, and do not have the administrator’s access to the server over SSH or Remote Desktop, contact your hosting provider for assistance with obtaining the package.
To retrieve the default Plesk theme package, run the following command:
plesk bin branding_theme -p -name default -destination '<path/filename.zip>'
plesk bin branding_theme --pack -name default -destination /usr/local/psa/theme.zip
plesk bin branding_theme -p -name <theme_name> -vendor admin -destination '<path/filename.zip>'
plesk bin branding_theme --pack -name default -vendor admin -destination /usr/local/psa/theme.zip
plesk bin branding_theme -p -name <theme_name> -vendor <reseller's username> -destination '<path/filename.zip>'
plesk bin branding_theme --pack -name default -vendor "JDoe" -destination /usr/local/psa/theme.zip
Note
If the utility shows the message “Branding theme is empty”, then it means that the user did not customize any settings through the GUI or by using themes. In such a case, no package will be created, and you will need to obtain the default Plesk theme package.