-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
49 lines (36 loc) · 1.39 KB
/
readme.txt
File metadata and controls
49 lines (36 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
=== Iconify Button ===
Contributors: code-mat
Tags: wordpress, button, icons, iconify, gutenberg, block-editor, ui
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Extend the core Button block with icons (choose icon, position left/right, set gap).
== Description ==
Iconify Button adds lightweight icon support to the native **core/button**:
- pick an icon from your SVG set,
- choose position (left/right),
- adjust spacing (gap) between icon and label,
- live preview in the editor (no extra block).
**Icon source**
Icons are plain SVGs. By default, the plugin reads them from its bundle.
**Highlights**
- no custom block — works with `core/button`,
- minimal JS, CSS variables for the preview,
- translatable strings (`iconify-button` text domain).
== Installation ==
1. Upload the plugin to `/wp-content/plugins/` and activate it.
2. In the block editor, add a **Button** block.
3. Open **Icon settings** in the sidebar, pick an icon, position and spacing.
== Frequently Asked Questions ==
= How do I use my own icons? =
Add them to the /icons directory in the plugin and run `npm run build`.
= Does it add a new block? =
No. It extends the native `core/button`.
== Changelog ==
= 0.1.0
* Initial release: icon picker, left/right position, gap control, editor preview.
= 0.1.0 =
Initial release.