No custom CSS required
Choose common button styles, colors, radius, size, and layout with shortcode attributes instead of writing CSS for every CTA.
Shortcodes Ultimate feature
Buttons are one of the most common content elements on WordPress sites. The Button shortcode in Shortcodes Ultimate helps you create reusable call-to-action buttons with custom text, links, colors, styles, icons, and download behavior - without writing custom CSS.
Use it for download links, pricing pages, affiliate offers, reviews, coupons, consultation forms, and internal navigation. Configure the button once, copy the shortcode, and reuse the same CTA pattern wherever WordPress shortcodes are supported.
A WordPress button shortcode is a small text tag that outputs a styled button in your content. Instead of writing HTML and CSS every time, you insert a shortcode, set a few attributes, and reuse the same CTA pattern across posts, pages, widgets, and templates.
The basic idea is simple: replace manually styled links with a readable shortcode such as [su_button]...[/su_button].
Write and maintain custom HTML classes, CSS rules, spacing, colors, and responsive states for every button pattern.
Insert a Button shortcode with the URL, label, style, size, colors, icon, and optional download behavior.
Shortcodes Ultimate gives you a practical button shortcode for common CTA patterns without forcing every post or page into a page builder workflow.
Choose common button styles, colors, radius, size, and layout with shortcode attributes instead of writing CSS for every CTA.
Copy the same shortcode pattern across posts and pages so download, pricing, and affiliate buttons stay consistent.
Use Button shortcodes in Block Editor, Classic Editor, widgets, and supported template contexts where shortcodes are enabled.
Create CTA, download, affiliate, review, consultation, and navigation buttons with one shortcode format.
Add a built-in icon or a short description when the button needs extra context.
Use shortcodes manually, generate them visually, or output trusted shortcode content in controlled template code.
These examples show real [su_button] syntax for common WordPress CTA buttons. Adjust URLs, labels, colors, and link attributes to match your site.
Use this for lead magnets, PDF resources, media files, or plugin downloads.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="flat" background="#2D89EF" color="#FFFFFF" size="5" icon="icon: download"]Download now[/su_button]
Use this for product pages, service pages, plan comparisons, and upgrade paths.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="3d" background="#2D89EF" color="#FFFFFF" size="5"]View pricing[/su_button]
Use this in comparison tables, roundup posts, and affiliate review summaries.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="soft" background="#2D89EF" color="#FFFFFF" size="4"]Read the full review[/su_button]
Use this for coupon pages, deal roundups, partner offers, and sponsored links.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" rel="sponsored nofollow" style="flat" background="#16A34A" color="#FFFFFF" size="5"]Get the coupon[/su_button]
Use this for agencies, consultants, service businesses, and local business landing pages.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="stroked" background="#2D89EF" color="#ffffff" size="5"]Book a consultation[/su_button]
Use this for external resources, partner sites, product listings, and directory pages.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" rel="nofollow" style="ghost" color="#2D89EF" size="5"]Visit website[/su_button]
Start from the free plugin listing or the Shortcodes Ultimate download page, then add the shortcode where your WordPress setup supports shortcodes.
Start from the free WordPress.org plugin listing or the Shortcodes Ultimate download page, then activate the plugin on your site.
Edit the post, page, widget area, or supported editor context where the button should appear.
Use the plugin shortcode generator where available, or add the shortcode manually in a Shortcode block or shortcode-friendly field.
Set the link, button text, style, colors, size, radius, icon, and any download or link relationship attributes.
Insert the generated shortcode, preview the page, then reuse the same pattern anywhere you need a consistent CTA.
Use the basic syntax for a quick button, then add attributes when you need a specific style, icon, target, download behavior, or link relationship.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/"]Button text[/su_button]
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="3d" background="#2D89EF" color="#FFFFFF" size="5" radius="10" icon="icon: check"]Get started[/su_button]
| Attribute | What it controls | Recommendation |
|---|---|---|
url |
Destination link | Use absolute URLs for external pages and clean relative URLs for internal pages. |
target |
Link target | Use blank for external pages only when opening a new tab is useful. |
style |
Visual button style | Start with flat, 3d, ghost, or stroked for common CTA patterns. |
background |
Button background color | Use brand colors and keep contrast high. |
color |
Text color | Use readable text colors and test contrast. |
size |
Button size | Use medium or large sizes for primary CTAs; avoid oversized buttons in dense content. |
wide |
Full-width layout | Useful on mobile, pricing sections, or stacked CTA blocks. |
center |
Horizontal centering | Good for standalone CTAs in blog posts. |
radius |
Rounded corners | Use consistent radius values across a site. |
icon |
Icon before text | Use icons sparingly to reinforce the action. |
desc |
Short text below the button label | Use only when a short button description improves clarity. |
download |
Browser download behavior | Use for direct file downloads and test server/browser behavior. |
rel |
Link relationship | Use appropriate values for affiliate, sponsored, and external links. |
class / id |
Custom hooks | Use for analytics or extra styling only when needed. |
The Button shortcode supports several style values. Pick one style for the role of the button, then keep recurring CTA patterns consistent across the site.
Basic content buttons that should inherit the plugin default look.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="default"]Default button[/su_button]
Clean primary CTA buttons in modern posts and landing pages.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="flat"]Flat button[/su_button]
Subtle secondary CTAs next to a stronger primary action.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="ghost" color="#222222"]Ghost button[/su_button]
Light inline CTAs in editorial content and review pages.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="soft"]Soft button[/su_button]
Buttons on visual sections where a glossy treatment fits the design.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="glass"]Glass button[/su_button]
Promotional CTAs that need a more decorative style.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="bubbles"]Bubbles button[/su_button]
Buttons that should feel textured without custom image assets.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="noise"]Noise button[/su_button]
Outline-style secondary actions and consultation links.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="stroked"]Stroked button[/su_button]
Prominent CTAs in older or classic visual designs.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="3d"]3D button[/su_button]
Use these starter patterns when you want consistent primary, secondary, outbound, and download CTAs across WordPress content.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="flat" background="#2D89EF" color="#FFFFFF" size="5" radius="5"]View pricing[/su_button]
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="ghost" color="#2D89EF" size="5"]See examples[/su_button]
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" rel="sponsored nofollow" style="flat" background="#16A34A" color="#FFFFFF" size="5"]Visit website[/su_button]
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/" style="flat" background="#2D89EF" color="#FFFFFF" size="5" download="Guide"]Download now[/su_button]
| Approach | Best for | Tradeoff |
|---|---|---|
| Shortcodes Ultimate Button shortcode | Reusable buttons in posts, pages, widgets, and shortcode-friendly templates | Uses shortcode syntax; examples should be managed consistently. |
| Custom HTML/CSS | Fully custom design systems | Requires coding and maintenance. |
| Page builder button widgets | Visual landing-page layouts | May be less portable across editors, widgets, and older content. |
Good buttons are clear, specific, and visually balanced. Treat the shortcode as the implementation detail, then make the CTA itself useful for the visitor.
Need more syntax details? Read the Button shortcode documentation, browse the documentation archive and shortcodes library, compare pricing, or compare related shortcodes such as Accordion, Tabs, and Box.
Yes. Shortcodes Ultimate lets you create common button styles with shortcode attributes for link, color, size, radius, icons, and more.
[su_button url="https://getshortcodes.com/wordpress-button-shortcode/"]Button text[/su_button]
Yes. Use a file URL and the download attribute, then test the behavior because browser and server support can affect downloads.
Yes. Shortcodes Ultimate can be used in WordPress editor contexts that support shortcodes, including Shortcode blocks and supported Insert Shortcode workflows.
Yes. Use an outbound URL, consider target="blank", and add appropriate rel values such as sponsored nofollow according to the site affiliate-link policy.
Yes, especially when you need portable, reusable content elements that can work across posts, pages, widgets, templates, and older content.
Yes, in controlled contexts where shortcode content is trusted and the codebase already supports safe shortcode rendering.