Documentation
Buttons
HoverCraft includes a small button shortcode for links that should use the theme's button styling.
- Use either
[button]or[hovercraft_button]. - Set the destination with
url. - Use
style="primary"orstyle="secondary". - Optional
target,rel, andclassattributes are supported. - Links opened with
target="_blank"automatically receive a saferelvalue when none is supplied.
[button url="/contact/" style="secondary"]Contact Us[/button]
The shortcode creates a normal link with HoverCraft button classes; it does not add form or JavaScript behavior.