Skip to content

wpvillain/line-block

Repository files navigation

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.

  1. Upload the plugin files to the /wp-content/plugins/line-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. 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

  1. Block editor view with Line Block selected, showing the customization options.
  2. 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

About

WordPress Gutenberg Line Block

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published