Button
The button shortcode creates a customizable clickable button using theme colors.
It adapts automatically to both light mode and dark mode, using dynamically injected CSS variables from your theme parameters.
It supports custom links, target attributes, and inner content (text, icons, emojis, etc.).
Usage
| |
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| href | No | # | URL the button links to |
| target | No | _self | Where the link opens (`_blank`, `_self`, etc.) |
| Inner content | Yes | - | Button label (supports text, emojis, inline HTML) |
Examples
1. Basic Button
View Services2. Open in New Tab
Visit Website 🌐3. Emoji Button
🔐 Login4. Inside Paragraph
You can also embed the button inside text:
Sign Up
to join our community today!