Create Custom Button
Custom buttons are very useful for easily creating custom actions.
There are 2 types of custom buttons:
Page buttons: these are the buttons located at the top of the page.
Item buttons: these are the buttons located at the top of each item.
Create a Page Buttonβ
Go to
Settings
->Page Builder
and select the page where you want to add the button.In the
Page Buttons
section, click onAdd Button
.Enter the button name and click on
Save Buttons
.Now you can use the button on the page.
If you want to link custom JavaScript code to the button, you will first need to create a plugin see tutorial here and then link it to the button.
Create an Item Buttonβ
Go to
Settings
->Item Builder
and select the item where you want to add the button.In the
Buttons
section, click onAdd Button
.Enter the button name and click on
Save Buttons
.Now you can use the button on the item.
If you want to link custom JavaScript code to the button, you will first need to create a plugin see tutorial here and then link it to the button.