Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Do you want to add a horizontal line to your WordPress site? This article features numerous methods to accomplish that.
Option 1: Add a Horizontal Line Using the Separator Block
One way to add a horizontal line to a post or page on your WordPress website is by using the separator block in the default block editor. The following procedures will demonstrate how to achieve that.
- Sign in to the backend dashboard of your WordPress website as an administrator. Then, left-click Pages or Posts on the left pane of the dashboard, depending on where you want to add a horizontal line.

- After that, click the title of the page or post where you wish to add a horizontal line to open it. I will select an untitled post on our WordPress site for this demonstration.

- When the post/page opens, left-click the Add block button in the area where you wish to add a horizontal line. Next, input “separator” in the search field, then select the Separator block from the search result.

- Consequently, a horizontal line should appear in your preferred area on the WordPress post or page.


Option 2: Add a Horizontal Line Using HTML
Interestingly, you can also add a horizontal line to your WordPress site with the aid of a certain HTML element. To achieve that, follow the steps provided below.
Recommended Free Tools
- As an administrator, sign in to the backend dashboard of your WordPress website. After signing in, click Posts or Pages on the left pane, depending on where you wish to add a horizontal line.

- Following that, click the title of the page or post where you want to add a horizontal line to open it. In this case, I will select an untitled post on our WordPress website.

- In the post or page, click the Options icon (three vertical dots) at the top right corner. Then, select Code editor from the options that appear.

- Now, input the HTML element below in the area you wish to add the horizontal line in the code editor.
<hr>

- When you’ve done that, click Exit code editor. Hence, a horizontal line with the classic editor toolbar at the top should appear on your WordPress page/post – see the second screenshot.


Option 3: Add a Horizontal Line Using a Plugin
Another way to add a horizontal line to your WordPress site is by using a plugin. There are quite a number of plugins that enables users to include a horizontal line in a WordPress post or page.
Popular on Amazon
- Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
- Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
- Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
- Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
- Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
However, we will focus on the Ultimate Blocks plugin. This plugin is free and adds about 15+ blocks to the WordPress block editor, including a Divider block.
This Divider block allows users to insert a horizontal line in a WordPress post or page. Also, it offers more customization options compared to the built-in Separator block discussed above.
Also popular on Amazon
- Media-Friendly: The K400 Plus wireless touch TV keyboard gives you integrated, comfortable control of your PC-to-TV entertainment, eliminating the clutter of a separate keyboard and mouse
- Plug-and-Play: Simply plug the Unifying receiver into a USB port and the wireless touchpad keyboard is ready to go; adjust controls using the Logitech Options Software to save preferred settings
- Power-Packed: Built with laid-back control in mind, this wireless TV keyboard has a reliable and long battery life of up to 18 months (2), including an on/off button to help it go even longer
- Wireless Freedom: Designed for seamless comfort and control, this HTPC keyboard boasts a range of up to 33 ft (1) wireless connectivity, with quiet keys and a large touchpad for easy navigation
- Broad Compatibility: Designed for use with Windows 7, Windows 8, Windows 10 and later, Android 7 or later, and Chrome OS
Therefore, read How to Install the Ultimate Blocks Plugin in WordPress to learn how to install and enable the plugin on your WordPress site. Then, use the procedures below to add a horizontal line to your WordPress post/page using this plugin.
- First, sign in to the backend of your WordPress backend using an admin account. Next, depending on where you wish to add a horizontal line, select Pages or Post on the backend’s left pane.

- After doing that, open the page/post where you want to add the horizontal line by clicking its title. Once again, I will open an untitled post on our WordPress site for this demonstration.

- After opening the post/page, click the Add block button in the area where you wish to add a horizontal line. Then, input “divider” in the search field and select the Divider block from the search result.

- Consequently, a horizontal line should appear in your WordPress post or page.


Frequently Asked Questions
Use the <hr> element to make a horizontal line in HTML.
To add a separator to a post on your WordPress website, follow the steps below.
a) Sign in to the backend dashboard of your WordPress website as an administrator.
b) Then, left-click Posts on the left pane of the dashboard.
c) After that, click the title of the post where you wish to add the horizontal separator to open it.
d) When the post opens, left-click the Add block button (+ icon)in the area where you wish to add the separator.
e) Next, input “separator” in the search field, then select the Separator block from the search result.
f) Hence, a horizontal separator should appear in your WordPress post.
Also popular on Amazon
- All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
- Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
- Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
- Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
- Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
Yes, you can develop a blog using WordPress for free. However, hosting the blog will attract a certain amount of money monthly or yearly.
The content management system (CMS) WordPress was created in 2003 by British blogger Mike Little and American blogger Matt Mullenweg.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Also popular on Amazon
- 【Ergonomic Wireless Keyboard Mouse 】: Wireless ergonomic keyboard is equipped with adjustable height tilt legs to increase comfort and prevent your wrists injury when typing for a long time. The full size wireless keyboard with numeric keypad and 12 multimedia shortcut keys, such as play/ pause, volume increase and decrease, and email, to help you improve work efficiency
- 【Stable & Reliable Wireless Connection】: This wireless keyboard and mouse combo share the same USB receiver(stored in the mouse), and they can also be used separately. Plug & play, no need to download any software, 2.4 GHz wireless provides a powerful and reliable connection up to 33 feet(10m) without any delays.You can enjoy the convenience and freedom of wireless connection at home or at work
- 【Comfortable Optical Mouse】: This compact lightweight wireless mouse features a hand-friendly contoured shape for all-day comfort, and smooth, precise tracking.1600 DPI to meet your daily needs. Perfect for home & office work and entertainment
- 【Long Battery Life】: Up to 365 Days of battery life for keyboard and mouse wireless, say goodbye to the hassle of charging cables and replacing batteries. After 10 minutes of inactivity, the wireless keyboard mouse combo will automatically go into sleep mode to save energy. The wireless keyboard requires one AAA battery, and the wireless mouse requires one AA battery.
- 【Less Noise, More Quiet Keys】: Soft membrane keys provide a quiet and comfortable typing experience, So you can type with confidence on a wireless keyboard crafted for comfort, precision and fluidity. The wireless mouse adopts silent micro-motion technology, which is almost completely silent when clicked. No more concerns about disturbing others.
Any straight line traveling from left to right or right to left is a horizontal line.
Conclusion
Adding a horizontal line is a good way of separating certain parts or paragraphs on your WordPress post/page. As a matter of fact, a horizontal line can improve the visual appeal of your WordPress website.
Also popular on Amazon
- Connect in seconds: Fast, easy Bluetooth wireless technology simply connects without the need for a dongle or USB port
- Durable and reliable: Built for quality, K250 offers long-lasting keys, a spill-resistant design (2)
- Comfort is key: Deep-profile keys and an adjustable tilt-leg design make typing feel great
- Space-saving: with a compact layout that still includes number pad, arrow keys, and handy F-key shortcuts
- Made responsibly: Designed to last, K250 plastic parts are durably made with minimum 64% recycled plastic (3) to withstand everyday use
Thankfully, this guide provided various methods to add a horizontal line in WordPress. Precisely, we discussed how to execute this task using the Separator block in the default WordPress block editor.
This guide also provided steps to add a horizontal line in WordPress using an HTML element. That’s not all; we also learned how to perform this task using a plugin.
I hope you were able to insert a horizontal line into your WordPress site with the help of this guide. If you were, click on “Yes” beside the “Was this page helpful” question below.
You may also express your thoughts and opinions by using the “Leave a Reply” form at the bottom of this page.
Finally, visit our WordPress & Websites How-To page to get more helpful WordPress guides.
Quick Recap
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.

