A block that adds a customizable line with options to set thickness, color, and width.
The Line Block plugin allows you to easily add a customizable line to your WordPress posts or pages. You can adjust the thickness, color, and width of the line, making it a flexible design tool for your content.
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/line-block
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Add the Line Block to your post or page using the block editor, and customize the line as needed.
You can change the thickness of the line by adjusting the "Thickness" option in the block settings within the editor.
Yes, you can select any color for the line using the color picker in the block settings.
Yes, you can set the width of the line either as a percentage (e.g., 100%) or as a fixed width (e.g., 300px).
- Block editor view with Line Block selected, showing the customization options.
- Example of a customized line added to a post or page.
- Initial release with options to set thickness, color, and width of the line.
This plugin is designed to be lightweight and easy to use, giving you full control over the appearance of lines in your content without writing any code. Perfect for adding visual separation or emphasis in your posts and pages.
Contributors: WordPress Villain
Tags: block, custom line, design, editor
Tested up to: 6.1
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html