bricks_upload_font
Upload custom font files to WordPress Media Library and register them in Bricks Builder, generating @font-face CSS automatically.
Instructions
Upload custom font files (.woff2, .woff, .ttf, .otf) and register them in Bricks Builder. Uploads to WordPress Media Library, registers the font, and generates @font-face CSS in Global CSS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Font family name (e.g., "PP Neue Montreal", "Cabinet Grotesk") | |
| files | Yes | Array of font files with weight/style mapping. Provide either path or url per file. | |
| display | No | CSS font-display value (default: "swap") |