You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slug of the theme to install. Hostinger theme slugs (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme) trigger the custom installer and forward the optional palette/layout/font fields; any other WordPress theme slug uses the standard installer and ignores those fields.
palette
str
Palette identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.
[optional] [default to 'palette1']
layout
str
Layout identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.
[optional] [default to 'layout1']
font
str
Font identifier. Only applied when the theme is a Hostinger theme; the default is used when omitted.
[optional] [default to 'default']
Example
fromhostinger_api.models.word_press_v1_themes_install_theme_requestimportWordPressV1ThemesInstallThemeRequest# TODO update the JSON string belowjson="{}"# create an instance of WordPressV1ThemesInstallThemeRequest from a JSON stringword_press_v1_themes_install_theme_request_instance=WordPressV1ThemesInstallThemeRequest.from_json(json)
# print the JSON string representation of the objectprint(WordPressV1ThemesInstallThemeRequest.to_json())
# convert the object into a dictword_press_v1_themes_install_theme_request_dict=word_press_v1_themes_install_theme_request_instance.to_dict()
# create an instance of WordPressV1ThemesInstallThemeRequest from a dictword_press_v1_themes_install_theme_request_from_dict=WordPressV1ThemesInstallThemeRequest.from_dict(word_press_v1_themes_install_theme_request_dict)