Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To add a linked button without a shortcode, insert WordPress’s built-in Buttons block in the block editor, then set the label and link on the individual button inside it. You can add more buttons and adjust their layout and appearance from the editor controls.

Insert the Buttons block

Open the post or page in the WordPress block editor. From the Posts or Pages area, choose Add New to start a draft, or open an existing item to edit it. The block editor has been WordPress’s default editor since WordPress 5.0.

  1. Click the + Block Inserter and search for Buttons, then select it; or add a paragraph and type /buttons, then press Enter.
  2. WordPress inserts a Buttons block containing one individual Button block. The parent Buttons block is the container; the Button block inside it is the item you configure.

WordPress’s documentation describes the purpose directly: “Use the Buttons block to add one or more buttons to your page or post.” WordPress.org Documentation: Buttons block.

Set the button label and destination

Select the individual Button block, not just its parent container. Enter the text visitors should see, then use the link control in the toolbar to enter or choose the destination URL. The toolbar also offers an option to open that link in a new tab.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
OCR 180Pcs Tactile Push Button Switch Assortment Kit, 10 Values 6x6mm 4-Pin Micro Momentary Tact Switch Set
  • 1.100% Brand New and high quality.
  • 2.High precision mechanism design offers perfect operation and long service life.
  • 3.Package includes 10 values tact push button switch, total 180PCS.
  • 4.10 values: 6*6*4.3,6*6*5,6*6*6,6*6*7,6*6*8,6*6*9.5,6*6*11,6*6*12,6*6*13,7*7mm.
  • 5.Great tool for television, audio equipment ,computer, interphone, remote control and other many filed.
  • Use a concise label that makes the next action clear, such as “Read the guide” or “Contact us.”
  • Check the destination carefully, particularly if the button should lead to another page or an external site.

For WordPress’s current control details, see the Buttons block documentation.

Style and arrange buttons

Change an individual button’s appearance

With the individual Button block selected, use its toolbar and settings sidebar to adjust available options such as color, typography, padding, dimensions, border, and shadow. The exact choices and style variations can depend on the active theme.

Rank #2
STARELO 5pcs 12mm Momentary Push Button Switch Black Shell with pre-Wiring, IP65 Waterproof Push Button Switch,Aluminum Alloy 1 Normally Open Without LED.
  • Specifications: 12mm Momentary push button switch without Led(5PCS).
  • How to use: The button switch operation type of this product is Momentary, keep pressing and holding the button = ON, hand off the button = OFF).
  • Mounting hole size: 0.5"/12mm, please check the size carefully before purchasing.
  • This switch can be used for: cars, ships, trucks, homes, coffee machines, industrial equipment, medical equipment, etc.
  • Waterproof: As the product has IP65 Waterproof, it is very suitable for use in marine applications such as ships.

Add another button or change the group layout

To add a second button, use the Add block control inside the Buttons container. New buttons follow the existing button’s style. Select the parent Buttons block to work with group-level layout options such as justification. Group layout and alignment are separate from an individual button’s appearance; wide and full-width alignment require theme support.

WordPress’s documentation was updated September 1, 2026, and notes settings changes in WordPress 7.1 as well as interactive-state guidance added in August 2026. Editors on older versions may see controls arranged differently. Consult the current documentation if a setting is not where you expect it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
TWTADE 202PCS Micro Momentary Tactile Push Button Switch Assortment Kit 10 Values 4 Pin/6Pin 6x6mm & 7x7mm Tact Switches
  • Wide Specification Coverage Meets All Your DIY Needs: This tactile switch assortment kit contains 10 commonly used sizes: 6×6mm with 4.3mm/5mm/6mm/7mm/8mm/9.5mm/11mm/12.5mm momentary tact switches, plus 7×7mm latching self-locking & momentary push switches, total 202 pieces. No need to buy multiple small packs separately, perfectly solve the trouble of mismatched button sizes during electronic maintenance and circuit modification.
  • Dual Switch Working Modes For Diverse Control Scenarios: Equipped with two mainstream switch types: momentary tactile switch that automatically resets after releasing your finger, ideal for remote control, mouse, key panel trigger; latching self-locking switch can keep on/off status after one press, perfect for power supply control, small equipment power lock. Both adopt through-hole DIP pin design for stable PCB soldering installation.
  • Premium Conductive Material For Stable Performance & Long Service Life: Each micro push button adopts high-precision contact and elastic metal shrapnel, featuring sensitive pressing feedback, stable electrical conductivity, effectively avoid poor contact, intermittent failure and stuck buttons. The insulating plastic housing is wear-resistant and anti-aging, supports tens of thousands of pressing cycles to ensure long-term stable use in various electronic devices.
  • Easy Classification & Portable Storage: All push buttons are pre-classified and placed in a transparent plastic storage box with separate grid compartments, each grid labeled with corresponding model size for quick identification. The sealed box can effectively prevent electronic components from moisture, dust and loss, easy to carry and store, greatly improving your maintenance and production work efficiency.
  • Universal Application: These tactile push switches are widely compatible with remote controllers, computer mouse, keyboards, small household appliances, instrumentation, audio equipment, DIY circuit projects, toy modification, industrial control panels and other devices. Ideal for electronic enthusiasts, maintenance technicians, student electronic experimental use.

Preview before publishing

  1. Preview the post or page in the editor.
  2. Check how the button and any group of buttons appear at a narrow screen width.
  3. Follow the button link and confirm it reaches the intended destination.

Do you need a plugin?

For a standard linked call-to-action, the built-in Buttons block is the direct no-shortcode option. Consider a third-party block plugin only if it provides a specific feature or design control you need that the built-in block and your theme do not provide. Before installing one, check its current maintenance and support information, compatibility with your WordPress and theme setup, and privacy details.

For example, the WordPress.org directory lists Button Block – Stylish buttons that get more clicks as a free Gutenberg block plugin. It is optional, not a requirement for adding a basic button. Its listing describes bundled libraries and third-party service disclosures, so review the current plugin listing and privacy details before choosing it.

Rank #4
LIDUOLE 24Values Tactile Push Button Switch Kit Micro Tact Switches Set
  • LIDUOLE 24Sizes 180Pcs 6x6MM 7x7MM 12x12MM Tactile Push Button Switch Assortment Kit.
  • Product's Feature: Rated Current: 50mA; Rated Voltage: DC 12V; Insulation Resistance:≥100M Ohm.
  • Product's Applications: For electronics DIY projects, breadboards, PCBs, TV, computers, audio equipment, remote controls, printers, and other electronic devices.
  • Product's Package: LIDUOLE Tact Pushbutton Switches are stored in a transparent, sturdy storage box. #Convenient to use and carry.
  • 24Values Tactile Switches: 4Pins: 6x6x4.3mm / 5mm / 6mm / 7mm / 8mm / 9mm / 10mm / 11mm / 12mm / 13mm, 12x12x4.3mm / 5mm / 6mm / 8mm / 9mm / 10mm / 11mm / 12mm / 13mm / 14mm; 2Pins: 6x6x5mm / 6mm; 6Pins: 7x7mm (Momentary / Latching).
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use the current block, not an old standalone Button guide

Some older instructions refer to a standalone Button block. WordPress marks that block deprecated since WordPress 5.4 and directs users to the Buttons block instead. For current work, insert Buttons, then edit its individual Button child. The developer reference identifies the parent as core/buttons and the permitted inner block as core/button; ordinary editors do not need to write block markup manually. See the Buttons block developer reference.

Quick Recap

Bestseller No. 1
OCR 180Pcs Tactile Push Button Switch Assortment Kit, 10 Values 6x6mm 4-Pin Micro Momentary Tact Switch Set
OCR 180Pcs Tactile Push Button Switch Assortment Kit, 10 Values 6x6mm 4-Pin Micro Momentary Tact Switch Set
1.100% Brand New and high quality.; 2.High precision mechanism design offers perfect operation and long service life.
$8.59
Bestseller No. 2
STARELO 5pcs 12mm Momentary Push Button Switch Black Shell with pre-Wiring, IP65 Waterproof Push Button Switch,Aluminum Alloy 1 Normally Open Without LED.
STARELO 5pcs 12mm Momentary Push Button Switch Black Shell with pre-Wiring, IP65 Waterproof Push Button Switch,Aluminum Alloy 1 Normally Open Without LED.
Specifications: 12mm Momentary push button switch without Led(5PCS).; Mounting hole size: 0.5"/12mm, please check the size carefully before purchasing.
$11.99
Bestseller No. 4
LIDUOLE 24Values Tactile Push Button Switch Kit Micro Tact Switches Set
LIDUOLE 24Values Tactile Push Button Switch Kit Micro Tact Switches Set
LIDUOLE 24Sizes 180Pcs 6x6MM 7x7MM 12x12MM Tactile Push Button Switch Assortment Kit.
$9.99
Best Value
TWTADE Micro Momentary Tactile Push Button Switch 26 Values 4 pin/3 pin/2 pin Tact Switch Assortment Kit (260Pcs)
  • 26 Kinds Total 260Pcs Tactile Push Button Complete Assortment Kit: This tactile switch assortment includes 26 most popular sizes, each specification comes with 10 pieces, total 260pcs micro momentary tact buttons. Suitable for all daily electronic replacement needs.
  • Sensitive Tactile Feedback & Long Lifespan: Through-hole 4-pin tactile buttons adopt elastic metal spring and high conductivity brass pins, low resistance with crisp clear click feeling. Firm solderable pins fit PCB boards tightly, no loose contact after long-time use.
  • Switch sizes:26 kinds,3x6x2.5mm,6x6x3/5/5/5/5/12mm,3x4x2mm,3x6x2.5/5mm,2.5x4.5x3.5mm,4x4x1.5mm,3x3.5x2mm,3x6x5mm,4x7x3.5/5mm,4.5x4.5x3.3/4/5mm,12x12x4.5/7/7mm,3x6x5mm,3.5x6x4mm. The height of the dimension does not include the height of the pin.
  • Independent Grids Clear Storage Case, Easy Identification: Comes with transparent divided plastic storage box. Compact portable case design, easy to put in tool bags for technicians, students and DIY hobbyists.
  • Ultra-Wide Compatibility for Electronic Repair, DIY Circuit: Widely used to replace broken switches on mouse, remote control, game controller, calculator, keyboard, toys, speakers and small household appliances. Perfect for Arduino prototype circuits, breadboard experiments, electronic maintenance shops, circuit modification and handmade DIY projects.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.