Line Block
WordPress Gutenberg Line Block
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wpvillain/line-block/archive/refs/heads/main.zipReadme
Line Block
A block that adds a customizable line with options to set thickness, color, and width.
Description
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.
Installation
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/line-blockdirectory, 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.
Frequently Asked Questions
How do I change the thickness of the line?
You can change the thickness of the line by adjusting the "Thickness" option in the block settings within the editor.
Can I change the color of the line?
Yes, you can select any color for the line using the color picker in the block settings.
Is it possible to set the width of the line?
Yes, you can set the width of the line either as a percentage (e.g., 100%) or as a fixed width (e.g., 300px).
Screenshots
- Block editor view with Line Block selected, showing the customization options.
- Example of a customized line added to a post or page.
Changelog
0.1.0
- Initial release with options to set thickness, color, and width of the line.
Arbitrary section
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