forked from ibericode/boxzilla-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
413 lines (230 loc) · 11.6 KB
/
readme.txt
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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
=== Boxzilla ===
Contributors: Ibericode, DvanKooten, hchouhan, lapzor
Donate link: https://boxzillaplugin.com/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=donate-link
Tags: scroll triggered box, cta, social, pop-up, newsletter, call to action, mailchimp, contact form 7, social media, mc4wp, ibericode
Requires at least: 4.1
Tested up to: 4.8.2
Stable tag: 3.1.21
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 5.3
Flexible call to action boxes, popping up or sliding in at just the right time.
== Description ==
### Boxzilla for WordPress
Boxzilla is a *lightweight* plugin for adding flexible call-to-actions to your WordPress site. Boxes can slide or fade in at any point and can contain whatever content you like.
#### Some of Boxzilla's features
- Boxes can contain _any_ content you like.
- Various box triggers:
- Scroll percentage
- Reaching a certain page element
- X amount of time on the page
- Exit Intent (premium)
- Time on Site (premium)
- Manually by clicking a link or button
- Customizable box position on the screen.
- Various visibility animations.
- Advanced page targeting.
- Full control over how long (and whether) boxes should stay hidden.
- Customizable box appearance using a simple & intuitive interface.
- Mobile optimized.
[Read more about Boxzilla](https://boxzillaplugin.com/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description).
> This is the successor of the old [Scroll Triggered Boxes](https://wordpress.org/plugins/scroll-triggered-boxes/) plugin.
#### Documentation
Please have a look at the [Boxzilla KB](https://kb.boxzillaplugin.com/).
#### Demo
There's a [Boxzilla demo](https://demo.boxzillaplugin.com#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description) with some examples.
#### Add-on plugins
The core Boxzilla plugin is and always will be free. Additional advanced functionality is available through several add-ons. Not only do they extend the core functionality of the plugin, they also help to fund further development of the core (free) plugin.
[Browse available add-ons for Boxzilla](https://boxzillaplugin.com/add-ons/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description).
#### Contributing and reporting bugs=
You can contribute to [Boxzilla on GitHub](https://github.com/ibericode/boxzilla).
#### Support
Please use the [WordPress.org plugin support forums](https://wordpress.org/support/plugin/boxzilla) for community support where we try to help all users.
If you think you've found a bug, please [report it on GitHub](https://github.com/ibericode/boxzilla/issues).
If you're on [one of the available premium plans](https://boxzillaplugin.com/pricing#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description), please use the support email for a faster reply.
== Frequently Asked Questions ==
= What does this plugin do? =
Have a look at the [Boxzilla demo site](https://demo.boxzillaplugin.com/#utm_source=wp-plugin-repo&utm_medium=boxzilla&utm_campaign=description).
= How to display a form in the box? =
Boxzilla will work with any plugin that offers shortcodes, like [MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/).
= Can I have a box open after clicking a certain link or button? =
Sure, by linking to the box element.
*Example (box ID is 94 in this example)*
`
<a href="#boxzilla-94">Open Box</a>
`
= Can I have a box to open right after opening a page? =
Sure, just include `boxzilla-` followed by the box ID in the URL.
*Example (box ID is 94 in this example)*
`
http://your-wordpress-site.com/some-page/#boxzilla-94
`
= Can I customize the appearance of a box =
Boxzilla comes with a simple interface for customizing most box colors & borders. You can apply your own CSS by utilizing any of the following element selectors.
`
.boxzilla { } /* all boxes */
.boxzilla-5 { } /* box with ID 5 */
`
= I want to disable auto-paragraphs in the box content =
All default WordPress filters are added to the `stb_content` filter hook. If you want to remove any of them, add the respectable line to your theme its `functions.php` file.
`
remove_filter( 'boxzilla_box_content', 'wptexturize') ;
remove_filter( 'boxzilla_box_content', 'convert_smilies' );
remove_filter( 'boxzilla_box_content', 'convert_chars' );
remove_filter( 'boxzilla_box_content', 'wpautop' );
remove_filter( 'boxzilla_box_content', 'do_shortcode' );
remove_filter( 'boxzilla_box_content', 'shortcode_unautop' );
`
= I want to make it impossible to close a box =
`
add_filter( 'boxzilla_box_options', function( $opts, $box ) {
$opts['closable'] = false;
return $opts;
}, 10, 2 );
`
== Installation ==
= Installing the plugin =
1. In your WordPress admin panel, go to *Plugins > New Plugin*, search for *Boxzilla* and click "Install now"
1. Alternatively, download the plugin and upload the contents of `boxzilla.zip` to your plugins directory, which usually is `/wp-content/plugins/`.
1. Activate the plugin.
= Creating a Boxzilla box =
1. Go to *Boxzilla > Add New*
1. Add some content to the box
1. (Optional) customize the appearance of the box by changing the *Appearance Settings*
= Additional Customization =
Have a look at the [frequently asked questions](https://wordpress.org/plugins/boxzilla/faq/) section for some examples of additional customization.
== Screenshots ==
1. A scroll triggered box with a newsletter sign-up form.
2. Another scroll triggered box, this time with social media sharing options.
3. A differently styled social triggered box.
4. Configuring and customizing your boxes is easy.
== Changelog ==
#### 3.1.21 - October 10, 2017
**Fixes**
- Ensure that administrators can always edit boxes.
#### 3.1.20 - October 9, 2017
**Fixes**
- Screen width condition not working when using WordPress in language other than English.
**Improvements**
- Use custom capability type so access to Boxzilla boxes can be modified using a role manager plugin.
#### 3.1.19 - September 20, 2017
**Improvements**
- Trigger points based on height (scroll %, element) will now be recalculated when the page height changes.
#### 3.1.18 - September 7, 2017
**Additions**
- Added [`[boxzilla_link]` shortcode to generate the correct HTML for a link to show/toggle/hide/dismiss a box](https://kb.boxzillaplugin.com/shortcode-boxzilla-link/).
#### 3.1.17 - August 30, 2017
**Fixes**
- IE11 issue with scroll triggered pop-ups never showing up.
#### 3.1.16 - August 2, 2017
**Fixes**
- JavaScript error when clicking `<a>` elements without `href` attributes.
#### 3.1.15 - July 26, 2017
**Additions**
- Added `[boxzilla-close]text here[/boxzilla-close]` shortcode to insert a link to close the box.
- Added setting to hide the close icon.
- Added setting to hide or show box for logged-in users.
#### 3.1.14 - July 13, 2017
**Fixes**
- IE Edge issue with sliding box animation.
**Improvements**
- Don't wait for document.ready event to initialise boxes. Fixes issues with plugins not delegaging AJAX event listeners.
#### 3.1.13 - May 11, 2017
**Improvements**
- Allow for script resources in Boxzilla box content (instead of just inline script elements).
- Reset box content when box is dismissed, eg to stop YouTube video's from playing.
#### 3.1.12 - April 24, 2017
**Improvements**
- Update endpoint URL for license API requests.
#### 3.1.11 - March 22, 2017
**Fixes**
- `#boxzilla-321` link not working when link has a nested image element.
**Improvements**
- Added the option to show on screens smaller than a certain width.
- Improved URL matching for "is url" rule.
#### 3.1.10 - March 8, 2017
**Fixes**
- Debugging statement that would log to console on every scroll event.
**Improvements**
- Reduced overlay click error margin to 40px (instead of % based).
- Minor UX improvements for "edit box" screen.
#### 3.1.9 - February 27, 2017
**Fixes**
- Compatibility error with PHP 7.1 because of function name with double underscore prefix.
**Improvements**
- Removed autofocus when box shows because of mobile browser issues & popping up keyboard.
**Additions**
- Added Romanian language files.
#### 3.1.8 - November 8, 2016
**Fixes**
- JS error on sites running HTTPS, introduced by v3.1.7.
#### 3.1.7 - November 8, 2016
**Fixes**
- Cookie length value was reset on every plugin update.
- Scroll to bottom when closing box in MobileSafari browsers.
**Improvements**
- Add CSS class to overlay when box is toggled.
- Ask for [plugin review](https://wordpress.org/support/plugin/boxzilla/reviews/#new-post) after 2 weeks of usage.
#### 3.1.6 - October 18, 2016
**Improvements**
- Failsafe against including the Boxzilla script twice, to prevent duplicate elements.
#### 3.1.5 - September 6, 2016
**Fixes**
- Box cookies were being set for _all_ boxes when dismissing a box using the overlay or ESCAPE key.
- Auto-close not working since version 3.1.3
**Improvements**
- Prevent default click event action when clicking close icon.
- Add helper classes for the [Boxzilla - Theme Pack add-on](https://boxzillaplugin.com/add-ons/theme-pack/).
#### 3.1.4 - August 24, 2016
**Fixes**
- `Boxzilla.show(123)` no longer working in previous update.
#### 3.1.3 - August 24, 2016
**Improvements**
- Don't trigger any new boxes when a box is currently open.
- Fail gracefully when not running PHP 5.3 or higher.
#### 3.1.2 - August 2, 2016
**Fixes**
- Exit-Intent not working in Safari & Firefox.
#### 3.1.1 - August 1, 2016
**Fixes**
- Scroll triggers not working in IE11.
**Improvements**
- Allow `<img>` elements inside links that open boxes.
- Better page height detection.
#### 3.1 - July 19, 2016
**Improvements**
- Completely removed jQuery dependency, resulting in better performance & smoother animations.
- Completely removed CSS file dependency.
- Box position is now visually hinted in box settings.
- Event binding improvements for [Exit Intent detection](https://boxzillaplugin.com/add-ons/exit-intent/).
**Additions**
- You can now set a cookie after the box is triggered, to prevent consecutively showing the box if a visitor does not explicitly dismiss it.
#### 3.0.3 - July 5, 2016
**Improvements**
- Add `id` attribute to box element.
- Automatically fix links in box content that use HTTP when HTTPS is needed.
- Restore global jQuery object after running user scripts, to failsafe errors.
**Additions**
- When using [MailChimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/) without AJAX, the box will now automatically re-open after reloading the page.
#### 3.0.2 - June 21, 2016
**Fixes**
- Box condition "is post" was not working with an empty value.
**Improvements**
- Prevent PHP notice when saving box without changing box rules.
**Additions**
- Added French translation files, thanks to Benoit Mercusot.
#### 3.0.1 - May 23, 2016
**Improvements**
- You can now use `<script>` tags directly in box content (again).
**Additions**
- Add "post tag is / is not" loading condition.
- Plugin will now show a notice to deactivate old Scroll Triggered Boxes plugin.
- Internal changes to dependency container for use in add-on plugins.
- Add-on: [Boxzilla Pageviews Trigger](https://boxzillaplugin.com/add-ons/pageviews/).
- Add-on: [Boxzilla WooCommerce](https://boxzillaplugin.com/add-ons/woocommerce/)
#### 3.0 - May 11, 2016
Initial release of [Boxzilla](https://boxzillaplugin.com/), formerly known as [Scroll Triggered Boxes](https://wordpress.org/plugins/scroll-triggered-boxes/).
If you're upgrading from the old plugin, please check [updating to Boxzilla from Scroll Triggered Boxes](https://kb.boxzillaplugin.com/updating-from-scroll-triggered-boxes/) for a list of changes you should be aware of.
== Upgrade Notice ==
= 2.1 =
Added autocomplete to box filters & minor bux fixes for filter rules.