# WordPress

> Install WordPress on Fortly in one step: its setup fields, how it stores content in PostgreSQL, wp-cron, and the theme, plugin and media limits.

Source: https://docs.fortly.com/apps/wordpress

The WordPress installer asks for an admin email and a password of at least eight characters. The site title defaults to `My WordPress Site`, and the admin username defaults to `admin`. Its setup form offers **Generate** and **Show** for the password.

It uses Fortly's PHP runtime and the project's PostgreSQL database through the WordPress database bridge. Uploads use the project's file storage. The installer creates unique WordPress keys and salts and adds a `wp-cron` schedule that requests `/wp-cron.php` every fifteen minutes.

The template runs a bundled WordPress tree. Installing or updating themes, plugins, or WordPress core from its dashboard is not supported: those code changes are not retained across requests. The console shows this limit before installation. Site content is stored in PostgreSQL. The WordPress dashboard’s multipart media-upload path is not supported by this template. Upload files through Fortly’s [Storage](https://docs.fortly.com/files) workspace and insert their public URLs into your content instead.

## WordPress API parameters

Use the same install route with the `wordpress` slug. `email` and `password` are required; `title` and `user` are optional.

```bash
curl -X POST "https://api.fortly.com/projects/$PROJECT/app-templates/wordpress/install" --header "Authorization: Bearer $FORTLY_TOKEN" --header "Content-Type: application/json" --data @wordpress-install.json
```

Create `wordpress-install.json` with your own site details and admin password:

```json
{
  "title": "My WordPress Site",
  "user": "admin",
  "email": "you@example.com",
  "password": "replace-with-your-admin-password"
}
```

`$PROJECT` is the `name` returned when you created the project. Keep the password private; it becomes the WordPress admin credential.

## What works differently

- The dashboard cannot upload media or install and update themes, plugins or WordPress itself, because the site runs a bundled copy of WordPress.
- The dashboard's Events and News panel is removed: it reads feeds from wordpress.org, which the site cannot fetch yet.

## After installing

WordPress is an ordinary project once it is installed. See [after installing](https://docs.fortly.com/apps#after-installing) for its domains, logs and database, and [installing an app](https://docs.fortly.com/apps#install-an-app) for the console and API steps every app shares.

For a summary of what the WordPress app includes and how it compares with the other one-click apps, see [WordPress on fortly.com](https://fortly.com/apps/wordpress).
