Adding a button to a shortcode can be done in a few simple steps.
1. Open your shortcode in a text editor such as Notepad or Notepad++.
2. Add the code below to the shortcode, replacing the text in brackets with your desired button text.
[button name=”button_name” text=”Button Text” url=”URL” icon=”icon_name” type=”type”]
3. Save the shortcode and preview it in your WordPress blog.
4. If you wish, you can also add a style to the button using the following code.button {
padding: 5px;
font-size: 12px;
color: #fff;
}
5. Finally, add the button to your blog using the following code.