> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/abilities/themes.md).

# Themes

Themes abilities of the Hostinger AI plugin's WordPress site MCP server. Install, activate, deactivate, update and delete WordPress themes.

Install, activate, deactivate, update and delete WordPress themes.

> **Note:** These abilities run inside your site through the [WordPress site MCP server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md). The Hostinger API can do some of the same from your hosting account, even while the site is down — see the [WordPress themes endpoints](https://docs.hostinger.com/api-reference/endpoints/wordpress/themes.md).

**Available:** Always.

| Ability                               | What it does                                                                                                                           | Type                             |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [Activate Theme](#activate-theme)     | Activate an installed theme.                                                                                                           | Changes the site · Safe to retry |
| [Deactivate Theme](#deactivate-theme) | Deactivate the active theme by switching to `fallback_stylesheet`, or to twentytwentyfour or another installed theme if none is given. | Changes the site                 |
| [Delete Theme](#delete-theme)         | Delete an installed theme; the active theme and its parent cannot be deleted.                                                          | **Destructive**                  |
| [Install Theme](#install-theme)       | Install a theme from WordPress.org by slug; it does not activate it.                                                                   | Changes the site                 |
| [List Themes](#list-themes)           | List the installed themes with their `stylesheet`, name, version, whether each is active and whether an update is available.           | Read-only                        |
| [Update Theme](#update-theme)         | Update an installed theme to the latest version from WordPress.org.                                                                    | Changes the site · Safe to retry |

## Activate Theme

`hostinger-ai/themes-activate` · Changes the site · Safe to retry

Activate an installed theme.

| Required parameter | Type   | Description                                 |
| ------------------ | ------ | ------------------------------------------- |
| `stylesheet`       | string | Theme stylesheet directory name to activate |

<details>

<summary>Description sent to AI tools</summary>

> Activate an installed theme. Use when asked to switch the site to another theme; install it first with `hostinger-ai/themes-install` if it is not listed. Needs `stylesheet` from `hostinger-ai/themes-list`.

</details>

## Deactivate Theme

`hostinger-ai/themes-deactivate` · Changes the site

Deactivate the active theme by switching to `fallback_stylesheet`, or to twentytwentyfour or another installed theme if none is given.

| Required parameter | Type   | Description                                                                      |
| ------------------ | ------ | -------------------------------------------------------------------------------- |
| `stylesheet`       | string | Theme stylesheet directory name to deactivate (will switch to the default theme) |

<details>

<summary>Optional parameters (1)</summary>

| Parameter             | Type   | Description                                                                           |
| --------------------- | ------ | ------------------------------------------------------------------------------------- |
| `fallback_stylesheet` | string | Stylesheet of the theme to activate as a replacement. Defaults to 'twentytwentyfour'. |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Deactivate the active theme by switching to `fallback_stylesheet`, or to twentytwentyfour or another installed theme if none is given. Use when asked to stop using the current theme without naming a replacement. Needs the active theme `stylesheet` from `hostinger-ai/themes-list`.

</details>

## Delete Theme

`hostinger-ai/themes-delete` · **Destructive**

Delete an installed theme; the active theme and its parent cannot be deleted.

| Required parameter | Type   | Description                                               |
| ------------------ | ------ | --------------------------------------------------------- |
| `stylesheet`       | string | Theme stylesheet directory name (e.g. 'twentytwentyfour') |

<details>

<summary>Description sent to AI tools</summary>

> Delete an installed theme; the active theme and its parent cannot be deleted. Use when asked to remove a theme. Needs `stylesheet` from `hostinger-ai/themes-list`.

</details>

## Install Theme

`hostinger-ai/themes-install` · Changes the site

Install a theme from WordPress.org by slug; it does not activate it.

| Required parameter | Type   | Description                                        |
| ------------------ | ------ | -------------------------------------------------- |
| `slug`             | string | WordPress.org theme slug (e.g. 'twentytwentyfour') |

<details>

<summary>Description sent to AI tools</summary>

> Install a theme from WordPress.org by slug; it does not activate it. Use when asked to add a theme that `hostinger-ai/themes-list` does not show. Pass the returned `stylesheet` to `hostinger-ai/themes-activate` to switch to it.

</details>

## List Themes

`hostinger-ai/themes-list` · Read-only

List the installed themes with their `stylesheet`, name, version, whether each is active and whether an update is available.

No parameters.

<details>

<summary>Description sent to AI tools</summary>

> List the installed themes with their `stylesheet`, name, version, whether each is active and whether an update is available. Use when you handle any theme task: it gives the exact `stylesheet` the other theme tools need and shows whether a theme is already installed.

</details>

## Update Theme

`hostinger-ai/themes-update` · Changes the site · Safe to retry

Update an installed theme to the latest version from WordPress.org.

| Required parameter | Type   | Description                               |
| ------------------ | ------ | ----------------------------------------- |
| `stylesheet`       | string | Theme stylesheet directory name to update |

<details>

<summary>Description sent to AI tools</summary>

> Update an installed theme to the latest version from WordPress.org. Use when asked to update a theme, or when `hostinger-ai/themes-list` shows an update is available. Needs `stylesheet` from `hostinger-ai/themes-list`.

</details>

## Related

* [Abilities Reference](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/abilities.md)
* [WordPress Site MCP Server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md)
