Obtaining a Theme Package from Plesk

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.

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>'

Where <path/filename.zip> 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:

plesk bin branding_theme --pack -name default -destination /usr/local/psa/theme.zip

To retrieve the theme previously customized and uploaded by the server administrator, run the following command:

plesk bin branding_theme -p -name <theme_name> -vendor admin -destination '<path/filename.zip>'

Where <theme_name> is the name that you assigned to the theme when created it.

Example:

plesk bin branding_theme --pack -name default -vendor admin -destination /usr/local/psa/theme.zip

To retrieve the theme previously customized by a reseller, run the following command:

plesk bin branding_theme -p -name <theme_name> -vendor <reseller's username> -destination '<path/filename.zip>'

Example:

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.

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.