Outputs a link formatted as a button.

Examples

[memberlite_btn style="success" href="/blog/" text="Go to the Blog" target="self"]

Success Button Alert Button Error Button Info Button Link Button

Default Button Primary Button Secondary Button Action Button

Attributes include:

  • class: An additional CSS class name to add to the button (optional).
  • href: The URL the button links to; can be relative to site domain or external domain (required).
  • icon: Include a Font Awesome icon before the button text (optional; options: any icon name as specified here).
  • icon_position: Control the position of the icon related to button text; accepts: “before” or “after” (optional; default: before).
  • style: The button appearance; accepts “default”, “primary”, “secondary”, “action”, “success”, “alert”, “error”, “info”, “link” (optional; default: “default”).
  • text: The text to display for the link/button (required).
  • target: Specifies where to open the linked document; options: “self”, “blank”, “parent”, “top” (optional; default: “self”).

Last updated on March 12, 2025


Was this article helpful?
YesNo