Do you want to add call-to-action buttons in your WordPress posts or pages?
Buttons are a great way to boost conversions. They are highly noticeable, which makes them excellent at redirecting users’ attention to a desired interaction.
For example, you can use a call to action button to send users to a transactional page like a pricing page, product page, services page, and others on your website.
You can also use call-to-action buttons to promote special offers, new products, or affiliate links that point to partner websites.
In this article, we will show you how to easily add beautiful call to action buttons in WordPress without writing any code.
Note: This article is for adding custom call-to-action buttons in WordPress. If you want to add social share buttons, then please see our guide on how to add social share buttons in WordPress.
Adding Buttons in WordPress Posts and Pages (Step by Step)
WordPress makes it super easy to add buttons with a built-in Button block. It is a feature that was introduced with the Gutenberg WordPress block editor.
In this article, we will show three ways to add call-to-action buttons in WordPress blog posts and pages. You can pick the solution that best suits your needs.
Feel free to use the table of content below to navigate through this article easily:
Table of Contents:
If you don’t like the video or need more instructions, then continue reading.
Adding Buttons in WordPress Posts / Pages Using Default Editor
This method is easy and recommended for most users. It uses the built-in Button block in the WordPress block editor. If you are still using the older classic editor, then you can skip to the next section.
First, you need to create a new post or edit an existing one where you want to add a button.
On your post edit screen, click on the ‘+’ icon and select the Buttons block from the Layout Elements section.
Next, you should be able to see the button block added to the content editor.
Simply click on the ‘Add text…’ area and enter your button text.
After that, click on the Link button in the toolbar to add a link.
You can search for a post or page or simply copy and paste a URL in the link field.
Once done, hit ‘Enter’ or press the ‘Apply’ icon to save your link.
If you want to display the button in the center, you can click on the ‘Justify’ icon and then select ‘Justify Center’. You can also change the vertical alignment of the button from the toolbar.
Next, you can customize your button style and change the text and background colors from the block settings panel on the right side.
Simply switch to the ‘Style’ tab under block settings to adjust your button style.
There are three button styles you can choose from: default, outline, and squared. You can try each one by clicking on them and choosing the one that looks best.
The Color Settings section includes five color variations for both the button background and button text. Not only that, but you can also use a custom color of your choice by clicking on the ‘Custom Color’ option.
Once you are happy with the button design, you can save your post or publish it to see a live preview.
Here is how it looked on our demo website.
Bonus: If you want to see how well your buttons perform, you should use MonsterInsights. It has built-in event tracking for affiliate links, outbound links, and custom events, so you can see how well your buttons are performing. For more details, see important marketing metrics that you must track in WordPress.
Creating a WordPress Button in Classic Editor
Although the Gutenberg block editor is faster and easier, many users still prefer the old Classic WordPress editor. If you are one of them, then you need to find an alternative solution to add buttons on your WordPress site.
There are three options available for adding buttons in the WordPress Classic Editor:
- Add a button in WordPress with HTML / CSS code.
- Add a button in WordPress with a WordPress button shortcode plugin.
- Add a button in WordPress without using shortcodes.
Of the three options, the first one is the coding method. You will need to write HTML / CSS code and add it to your website wherever you need a button. It is not beginner-friendly.
The second option is the most commonly used method. That’s because most of the WordPress button plugins provide shortcodes for adding buttons.
The third option is the best because it allows you to easily add buttons to your posts and pages without having to remember the shortcode.
Let’s take a look at how to add buttons in WordPress without using shortcodes.
Once you have activated the plugin, create a new post, or edit an existing one. In the editor, you will see a new button in the visual editor labeled ‘Insert Button’.
To insert a new button in your post, you need to click on the ‘Insert Button’ icon.
This will bring up a popup window where you can design your new button.
First, you need to add your button text and URL. As you add your button text, you can see a live preview in the box below.
Next, you can add a nofollow tag to your link and open the link in a new tab by clicking on the checkbox options below.
After that, you can select an icon for your button. If you click on the ‘Icons’ tab, then you will be able to see the icons that you can add before or after the text in your buttons.
These icons are actually icon fonts (learn how to use icon fonts in the WordPress post editor).
Next, you can choose the text color and background color for your button by clicking on the Color box icon.
After that, click on the drop-down menu to choose the button style.
There are eight different button styles ready for use.
Similarly, you can also choose the button size from extra small to extra large.
Once you are satisfied with the look, simply click on the ‘Update’ button.
You will be able to see your button as it appears in your post, right inside the post editor.
You can also set button alignment by simply selecting the button text and using the toolbar buttons in the classic editor.
Double-clicking on the button will bring up the Insert Button popup, and you can re-edit your button if you like.
Once you are happy with its design, you can publish or update your post and see it in action. This is how the fancy button appeared on our demo WordPress website.
Adding a Click-to-Call Button in WordPress
In addition to the usual call-to-action buttons, you can also add click-to-call buttons on your website to boost leads and conversions.
A click-to-call button is a specific type of call-to-action button that allows your users to make a phone call to your team with just a tap.
Using the tap-to-call buttons, your site visitors can instantly talk to your team in person and get the information they need. Whether discussing a quote request, pre-sale information, or support issue, phone calls are quick.
As the number of smartphone users is growing, adding call now buttons are even more relevant nowadays.
With that said, let’s look at how to add click-to-call buttons in WordPress step by step.
Upon activation, you need to visit the Settings » WP Call Button page to configure the plugin settings and design your click-to-call button.
At first, you will see the Sticky Call Button settings. The sticky call button is a conversion-optimized feature that moves the call button along with users as they browse your site.
You can start by activating the Call Now Button Status. Simply click on the switch toggle to activate that.
After that, you need to enter your phone number. WP Call Button has a smart phone number field with your country code. Simply select your country and enter your business phone number.
Next, you can edit your call button text and choose the call button position and color.
Also, you can select where to show the sticky call button on your website. By default, it shows the call button on all pages and on all devices. You can show or hide the button on certain pages and show it only on mobile devices.
Once you review all the options, you can click on the ‘Save Changes’ button at the bottom. After that, you can visit your website and see the sticky call now button in action.
Aside from the sticky call buttons, you can also add static call buttons on your WordPress pages, posts, and sidebars using this plugin.
If you are using the WordPress block editor, then you can easily add the call now button on your pages using the WP Call Button block.
Create a new page or edit an existing page and add the WP Call Button block using your page editor.
After that, you can customize the button text, button color, text color, and font size and show or hide the phone icon.
Once you are happy with its design, you can publish or update your page.
If you are using Classic WordPress editor, then you need to use the Static Call Button generator to get a shortcode.
Go to Settings » WP Call Button and click on the ‘Static Call Button’ menu at the top.
Simply customize the button options and then copy the shortcode. After that, you can use the shortcode in any post or page on your website.
WP Call Button plugin also allows you to add the call button on your WordPress sidebar and other widget-ready areas.
Simply go to Appearance » Widgets and drag the WP Call Button widget to a widget-ready area where you want to show the call button.
Now you can add a title, a description, and customize the call button from the Advanced Settings section. Once done, save your widget.
That’s it! If you want to see a more detailed tutorial, then you can check our step-by-step guide on how to add a click-to-call button in WordPress.
Bonus Tip for Adding Custom Buttons in WordPress
If you want to add completely custom call to action buttons in WordPress, then you are likely looking for a solution that also allows you to add custom sections as well as custom buttons in your website header, menus, and other areas.
These page builders will help you create custom landing pages with fancy call-to-action buttons exactly how you want them.
Whatever you do, it’s important that you track how your buttons are performing because guessing isn’t the best business growth strategy.
We recommend using MonsterInsights. It has built-in event tracking for affiliate links, outbound links, and custom events, so you can see how well your buttons perform. For more details, see important marketing metrics that you must track in WordPress.
We hope this article helped you to learn how to add buttons in WordPress easily. You may also want to see our complete guide on WordPress conversion tracking or our list of the best WordPress plugins to grow your website.