-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
212 lines (157 loc) · 10.7 KB
/
readme.txt
File metadata and controls
212 lines (157 loc) · 10.7 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
=== Interactions - Create Interactive Experiences in the Block Editor ===
Contributors: bfintal, gambitph
Tags: animation, interaction, interactivity, blocks, gutenberg
Requires at least: 6.7.4
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.3.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Add animations and interactivity to your blocks. Choose from ready-made effects like scroll & hover in the Interactions Library, or build your own.
== Description ==
**Interactions – WordPress Animations, Interactive Experiences for Gutenberg Blocks**
[Visit our website](https://wpinteractions.com) to learn more about how Interactions work.
Want to make your website feel alive and interactive? **Interactions** is the easiest way to add animations, effects, interactivity, and functional features to WordPress — directly inside the block editor. Check our [samples page here](https://wpinteractions.com/samples/) to see a glimpse of what type of interactions you can create.
You don't need coding skills or complex tools. With Interactions, you can:
- **Pick from the [Interactions Library](https://docs.wpinteractions.com/article/744-how-to-use-interactions-library)** – A collection of pre-built animations and effects (like images that move upon scrolling down the page, buttons that glow when hovered, and more). Just click and apply. [Learn more](https://docs.wpinteractions.com/article/744-how-to-use-interactions-library)
- **Build your own custom effects** – Use a simple **Trigger → Action** system. Example: "On scroll → Fade in block", or "On click → Play video". [Learn more](https://docs.wpinteractions.com/article/577-what-is-wp-interactions-and-how-does-it-work)
- **Add functional features** – Securely update post data, handle form submissions, display user info, copy text to clipboard, and more without coding. [Learn more](https://docs.wpinteractions.com/category/729-interactions)
Whether you want subtle hover effects, attention-grabbing story-telling animations, playful micro-interactions, or powerful functional features, [Interactions](https://wpinteractions.com) makes it possible.
### 🚀 Features
Create [custom interactions](https://docs.wpinteractions.com/article/571-what-are-interactions) easily with a simple Trigger → Action builder. Features include:
**Animations & Visual Effects:**
- **Animations for WordPress blocks** (fade, slide, zoom, rotate, shadow, etc.)
- **Scroll effects** – reveal content as users scroll down
- **Hover effects** – highlight and animate blocks on hover
- **Click triggers** – run actions when buttons, images, or sections are clicked
**Basic Interactions:**
- **Mouse interactions** – Click, hover, mouse move, mouse press
- **Scroll interactions** – Enter viewport, element scrolling, page scrolling
- **Form interactions** – Form submitted, input change, keypress
- **Page interactions** – Page load, page create
**Basic Actions:**
- **Animation actions** – Move, rotate, scale, skew, opacity
- **Style actions** – Background color, background image, text color, CSS rule, toggle class, update attribute
- **Display actions** – Display, visibility, focus
- **Navigation** – Redirect to URL
- **Media** – Toggle video
- **Effects** – Confetti
**Core Features:**
- **Reusable Interaction Library** – apply popular effects instantly
- **Custom trigger → action builder** – advanced users can design unique effects
- **Performance optimized** – loads only what's needed for your chosen interactions
- **Works with any block and any theme**
### 🎯 Perfect For
- Designers who want **scroll animations** without code
- Marketers who want **attention-grabbing hover effects**
- Bloggers who want **dynamic storytelling** with animations
- Site builders who want **to bring their block designs to life, or create unique micro-interactions**
- Developers who need **functional features** like post meta updates and data handling
- Anyone building **modern interactive websites** in WordPress
### 💎 What's in Premium?
[Check our pricing page](https://wpinteractions.com/pricing/) to learn more about what's in Interactions premium.
**Advanced Interactions:**
- **Scroll Strength** – Measure scroll intensity
- **Page State** – Monitor page state changes
- **Page Exit** – Detect when users try to leave
- **URL Hash** – Respond to URL hash changes
- **Local Storage** – Monitor storage changes
- **Toggle Attribute/Class** – Watch attribute and class changes
- **HTML Events** – Custom HTML and document events
**Advanced Actions:**
- **Box Shadow** – Dynamic shadow effects
- **Slide Animations** – Smooth slide up/down effects
- **Content Management** – Securely insert sanitized HTML, render shortcodes, copy to clipboard
- **Data & Post Management** – Update post/user meta (with permissions), get post data, local storage
- **Navigation & UX** – Scroll to element, tooltips, popups, confirmation dialogs
- **Media** – Video scrubbing, SVG animations (line draw, morph, motion path)
- **Advanced Features** – Animated counters, advanced automation
**Premium Benefits:**
- **40+ Premium Actions** – Access to advanced functionality
- **10+ Premium Interactions** – More trigger options
- **Priority Support** – Faster response times
- **Regular Updates** – New features and improvements
- **Commercial License** – Use in client projects
**Source Code:**
The source code for this plugin is available on GitHub:
https://github.com/gambitph/Interactions
== Installation ==
1. Install “Interactions” from the WordPress Plugin Directory, or upload it to `/wp-content/plugins/interactions/`.
2. Activate the plugin from the “Plugins” menu.
3. Edit a post or page with the block editor.
4. Open the **Interactions Library** panel from the top and pick an effect.
– OR –
Create your own using the **Trigger → Action builder**.
5. Save and preview your interactive blocks!
== Frequently Asked Questions ==
= Is this just an animation plugin for WordPress? =
No! While Interactions excels at animations, it's much more than that. It's a comprehensive interaction system that includes functional features like updating post meta, triggering DOM events, copying text to clipboard, and much more. You can build both visual effects and powerful functional features.
= Does it work with Elementor or other page builders? =
No. Interactions is built specifically for the **WordPress block editor (Gutenberg)**.
= Can I add scroll animations to WordPress with this plugin? =
Yes. You can animate blocks when they enter the viewport, fade in, slide in, or trigger other effects on scroll.
= Can I update post meta or custom fields with this plugin? =
Yes! The premium version includes "Update Post Meta" and "Update User Meta" actions that let you modify database values without coding. Perfect for counters, user preferences, and dynamic content.
= Will it slow down my website? =
No. Interactions only loads when they are used on the current page, in addition to this, only the effects you use are loaded, keeping performance fast.
= Can I reuse animations across multiple pages? =
Yes. You can use Location Rules to specify simple or complex rules on where or when interactions are loaded. This makes it simple to create a one-time effect for a specific area only, to a card hover effect present across your entire website.
= What's the difference between free and premium? =
The free version includes basic animations and interactions. Premium adds advanced functional features like post meta updates, data handling, logic flows, advanced automations, advanced animations, and much more.
== Screenshots ==
1. Adding from the Interaction Library – Pre-built animations and effects.
2. Advanced trigger and action timeline builder – Create custom interactions with flexible logic and multiple steps.
3. Interaction Library contents – Pre-built animations and effects.
== Upgrade Notice ==
== Changelog ==
= 1.3.2 =
* Fixed: Interaction preview now works when Show Templates is enabled #5
* Fixed: Added restrictions for users without unfiltered_html capabilities #6 #7
* Fixed: If interaction trigger matched multiple elements, play once will not work on the next match #5
* Fixed: Added additional input sanitization #6 #7
* Fixed: Editor error someitmes with the CSS rule action #8
= 1.3.1 =
* Fixed: Updated readme info
* Fixed: Updated long name in the plugins page
* Fixed: License activation issue
= 1.3.0 =
* New: Interaction library
* New: Block name field is now searchable #70
* New: Import / export functionality #71
* New: Box shadow action #81
* New: 3D Rotate - new transform origin option
* Fixed: Hover interaction glitches when hovering too fast #9
* Fixed: On enter viewport doesn't always trigger when on mobile #23
* Fixed: Confetti action - selecting window will no longer show a display target warning message #74
= 1.2.0 =
* New: Scroll strength interaction
* New: Toggle video action
* New: Get URL Parameter action
* Fixed: Rotate 3d action - default easing is now linear #76
* Fixed: Move & Rotate 3d actions - zero values are now valid #72
* Fixed: Interactions with optional targets no longer warn about missing trigger #24
* Fixed: If an interaction fails to load, continue loading the rest of the interactions #cc29210
= 1.1.2 =
* Fixed: Better error handling when an interaction fails to load #56
* Fixed: Action label does not update when changing interaction trigger types #61
* Fixed: License key is now hidden when managing license keys #67
* Fixed: License key sync has been removed #67
= 1.1.1 =
* Fixed: Editor error when creating a page interaction without a block selected #62
* Fixed: Scrub Video action: can now be previewed in the editor #59
= 1.1.0 =
* New: Scrub Video action
* New: WordPress 6.8 compatibility
* Fixed: Possible console error when using Scroll to Element Action #48
= 1.0.3 =
* New: Get text from element action #20
* New: Add post ID in Get Post Data action #34
* New: Added max-width utility classes
* Fixed: Now works if the main script is deferred by optimization plugins #4
* Fixed: When duplicating an interaction, the save button doesn't disappear #22
* Fixed: Previewing the interaction doesn't show properly if you have a starting state #27
* Fixed: Safari issue, buttons do not open the popup after the first time #28
* Fixed: When the block target is not available, the element interactions incorrectly uses the body as the target #31
* Fixed: When adding a number or symbol after text, the editor causes an error #29
* Fixed: Using commas in the applied to selector and using a "matching" option now works properly
* Fixed: interactions that are not applied to the current page, but match a block are visible in the block toolbar add interaction button