To create buttons in any editor using the WisePub HTML classes, with the option to choose between primary and secondary colors.
Steps
- Open the editor.
- Click on the three dots or select “HTML” to insert HTML code.
- Insert the following code:
<a href="YOUR_LINK" class="wisepub-button-primary">BUTTON_TEXT</a>
for a primary color button. - Save and update the changes.
- Check the front end to view the button.
- To add a secondary color button, repeat steps 2-4 with
<a href="YOUR_LINK" class="wisepub-button-secondary">BUTTON_TEXT</a>
. - Save and update the changes.
Cautionary Notes
- Ensure correct placement of the HTML code within the editor.
- Double-check the link and button text for accuracy.
- Save changes before updating to avoid overwriting previous elements.
- Verify the appearance of buttons on the front end after each update.