How to add a button
-
I’m trying to add a button to link to another site. How do I do that?
The blog I need help with is: (visible only to logged in users)
-
Hello @talgolan772
Follow these steps to add a button with a link to an external site:
1. If you want to add the button to a post, go here: https://wordpress.com/posts/ and click Edit on the post to which you want to add the button.If you want to add the button to a page, go here: https://wordpress.com/pages/ and click the 3-dots “•••”
and then click Edit on the page to which you want to add the button.2. On the page/post editor, switch to the HTML tab.
3. Now add this:
<a style="background: #0080ff; padding: 8px 12px; text-decoration: none; color: #ffffff;" href="https://wordpress.com" target="_blank" rel="noopener noreferrer">Link to WordPress</a>This will add a button link to wordpress.com but you can edit the ‘href‘ value to any link you desire. You can also change the ‘Link to WordPress‘ text to anything that matches or signifies the actual link.
Hope these help 🙂
- The topic ‘How to add a button’ is closed to new replies.