Version Description
- author change
Download this release
Release Info
Developer | webzunft |
Plugin | Q2W3 Fixed Widget |
Version | 5.1.5 |
Comparing to | |
See all releases |
Code changes from version 5.1.4 to 5.1.5
- q2w3-fixed-widget.php +7 -7
- readme.txt +40 -30
q2w3-fixed-widget.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Q2W3 Fixed Widget
|
4 |
-
Plugin URI:
|
5 |
Description: Fixes positioning of the selected widgets, when the page is scrolled down.
|
6 |
Text Domain: q2w3-fixed-widget
|
7 |
-
Author: Max Bond
|
8 |
-
Version: 5.1.
|
9 |
-
Author URI:
|
10 |
*/
|
11 |
|
12 |
add_action('init', array( 'q2w3_fixed_widget', 'init' )); // Main Hook
|
@@ -17,7 +17,7 @@ class q2w3_fixed_widget { // Plugin class
|
|
17 |
|
18 |
const ID = 'q2w3_fixed_widget';
|
19 |
|
20 |
-
const VERSION = '5.1.
|
21 |
|
22 |
protected static $sidebars_widgets;
|
23 |
|
@@ -497,9 +497,9 @@ class q2w3_fixed_widget { // Plugin class
|
|
497 |
|
498 |
public static function settings_page_recommend_box($options) {
|
499 |
|
500 |
-
echo '<ul><li><a href="https://wordpress.org/plugins/advanced-ads/" target="_blank"><b>Advanced Ads</b></a> -
|
501 |
|
502 |
-
echo '<li><a href="https://wordpress.org/plugins/autoptimize/" target="_blank"><b>Autoptimize</b></a> -
|
503 |
|
504 |
}
|
505 |
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Q2W3 Fixed Widget
|
4 |
+
Plugin URI: https://wpadvancedads.com/fixed-widget-wordpress/
|
5 |
Description: Fixes positioning of the selected widgets, when the page is scrolled down.
|
6 |
Text Domain: q2w3-fixed-widget
|
7 |
+
Author: Thomas Maier, Max Bond
|
8 |
+
Version: 5.1.5
|
9 |
+
Author URI: https://wpadvancedads.com/fixed-widget-wordpress/
|
10 |
*/
|
11 |
|
12 |
add_action('init', array( 'q2w3_fixed_widget', 'init' )); // Main Hook
|
17 |
|
18 |
const ID = 'q2w3_fixed_widget';
|
19 |
|
20 |
+
const VERSION = '5.1.5';
|
21 |
|
22 |
protected static $sidebars_widgets;
|
23 |
|
497 |
|
498 |
public static function settings_page_recommend_box($options) {
|
499 |
|
500 |
+
echo '<ul><li><a href="https://wordpress.org/plugins/advanced-ads/" target="_blank"><b>Advanced Ads</b></a> - best Ad manager. Works perfect with Q2W3!</li>'.PHP_EOL;
|
501 |
|
502 |
+
echo '<li><a href="https://wordpress.org/plugins/autoptimize/" target="_blank"><b>Autoptimize</b></a> - best minificator and site optimizator. Fully compatible with Q2W3!</li></ul>'.PHP_EOL;
|
503 |
|
504 |
}
|
505 |
|
readme.txt
CHANGED
@@ -1,73 +1,84 @@
|
|
1 |
-
=== Q2W3 Fixed Widget ===
|
2 |
-
Contributors:
|
3 |
-
Tags:
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 5.1.
|
7 |
|
8 |
-
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
-
|
13 |
|
14 |
-
|
15 |
|
16 |
-
|
17 |
-
1. Optimized client side performance. Detection of page changes is now based on MutationObserver API. Widget parameters recount is fired only when needed! Refresh interval option used only for campatibility with old browsers (no MutationObserver API support).
|
18 |
-
2. Improved compatibility with caching plugins (W3TC, Autoptimize and etc.). No need to exclude jQuery and plugin files from cache!
|
19 |
-
3. Async/Defer script load method support
|
20 |
-
4. Added `Disable Width` and `Disable Height` options
|
21 |
|
22 |
-
|
23 |
|
24 |
-
Compatibility
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
* `wp_head()` and `wp_footer()` functions in header.php and footer.php files.
|
29 |
-
* Widgets must have an
|
30 |
|
31 |
-
In some
|
32 |
|
33 |
== Installation ==
|
34 |
|
35 |
-
1. Follow standard WordPress plugin installation procedure
|
36 |
-
2. Activate the plugin through the
|
37 |
-
3. Go to Appearance -> Widgets, enable "Fixed Widget" option on any active widget
|
38 |
4. Fine tune plugin parameters on Appearance -> Fixed Widget Options page
|
39 |
|
40 |
|
41 |
== Frequently Asked Questions ==
|
42 |
|
43 |
-
= Why plugin
|
44 |
|
45 |
There are several reasons:
|
46 |
|
47 |
-
1. Javascript errors on page. Commonly caused by buggy plugins. Check javascript console of your browser. If you find errors, try to locate and fix its source.
|
48 |
2. No `wp_head()` and `wp_footer()` functions in template. Check header.php and footer.php files of your active theme.
|
49 |
3. Conflicts with other plugins and scripts
|
50 |
4. CSS incompatibility
|
51 |
|
52 |
-
=
|
|
|
|
|
|
|
|
|
53 |
|
54 |
Check your CSS files for these two instructions:
|
55 |
`-webkit-backface-visibility:hidden;
|
56 |
-webkit-transform: translate3d(0,0,0);`
|
|
|
57 |
If found, disable them and see the result.
|
58 |
|
59 |
= How to prevent overlapping with the footer? =
|
60 |
|
61 |
-
Go to WP admin area, Appearance -> Fixed Widget Options. Here you can define top and bottom margins. Set bottom margin value >= footer height. Check the result.
|
62 |
-
If your footer height is changing from page to page it is better to use `Stop ID` option. Here you need to provide
|
63 |
|
64 |
= How to disable the plugin on mobile devices? =
|
65 |
-
There are two options: `Disable Width` and `Disable Height`. They works the same way. If browser window width/height is less then or equals specified value
|
|
|
|
|
|
|
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
69 |
= 5.1.4 =
|
70 |
-
*
|
71 |
|
72 |
= 5.1.3 =
|
73 |
* Now compatible with WP Page Widget plugin
|
@@ -184,6 +195,5 @@ There are two options: `Disable Width` and `Disable Height`. They works the same
|
|
184 |
* Improved compatibility with Webkit based browsers (like Chrome and Safari).
|
185 |
* Removed unnecessary CSS.
|
186 |
|
187 |
-
|
188 |
= 1.0 =
|
189 |
* First public release.
|
1 |
+
=== Q2W3 Fixed Widget for WordPress ===
|
2 |
+
Contributors: webzunft, max-bond
|
3 |
+
Tags: fixed widget, sticky widget, sidebar, ads, widget
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.1
|
6 |
+
Stable tag: 5.1.5
|
7 |
|
8 |
+
More attention and a higher ad performance with fixed sticky widgets.
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
+
Use the fixed widget plugin to create sticky widgets that stay in the visible screen area when the page is scrolled up or down.
|
13 |
|
14 |
+
Sticky widgets are perceived much better by your visitors than unfixed widgets and therefore have a significantly higher click-through rate. Therefore, this option is especially useful for ads or other items that visitors want to interact with.
|
15 |
|
16 |
+
The recommended solution for integrating ads in WordPress is the free ad management plugin [Advanced Ads](https://wordpress.org/plugins/advanced-ads/).
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
* [Manual and demo](https://wpadvancedads.com/fixed-widget-wordpress/)
|
19 |
|
20 |
+
= Compatibility =
|
21 |
|
22 |
+
The plugin is not working with all themes! Theme requirements:
|
23 |
+
|
24 |
+
* jQuery 1.7 is required, jQuery 1.8.3 (or later) is recommended.
|
25 |
+
* No JavaScript errors caused by other plugins and scripts.
|
26 |
* `wp_head()` and `wp_footer()` functions in header.php and footer.php files.
|
27 |
+
* Widgets must have an ID attribute.
|
28 |
|
29 |
+
In some themes fixed widgets „jump“ during scrolling, etc. Some CSS changes at your theme will be required in this case.
|
30 |
|
31 |
== Installation ==
|
32 |
|
33 |
+
1. Follow the standard WordPress plugin installation procedure
|
34 |
+
2. Activate the plugin through the plugins menu in WordPress
|
35 |
+
3. Go to Appearance -> Widgets, enable the "Fixed Widget" option on any active widget
|
36 |
4. Fine tune plugin parameters on Appearance -> Fixed Widget Options page
|
37 |
|
38 |
|
39 |
== Frequently Asked Questions ==
|
40 |
|
41 |
+
= Why is the Fixed Widget plugin not working? =
|
42 |
|
43 |
There are several reasons:
|
44 |
|
45 |
+
1. Javascript errors on the page. Commonly caused by buggy plugins. Check javascript console of your browser. If you find errors, try to locate and fix its source.
|
46 |
2. No `wp_head()` and `wp_footer()` functions in template. Check header.php and footer.php files of your active theme.
|
47 |
3. Conflicts with other plugins and scripts
|
48 |
4. CSS incompatibility
|
49 |
|
50 |
+
= Is it possible to fix multiple widgets? =
|
51 |
+
|
52 |
+
Yes, it is possible to fix more than one widget even if they are located in different sidebars.
|
53 |
+
|
54 |
+
= Why is the plugin not working in Chrome (and other Webkit based browsers)? =
|
55 |
|
56 |
Check your CSS files for these two instructions:
|
57 |
`-webkit-backface-visibility:hidden;
|
58 |
-webkit-transform: translate3d(0,0,0);`
|
59 |
+
|
60 |
If found, disable them and see the result.
|
61 |
|
62 |
= How to prevent overlapping with the footer? =
|
63 |
|
64 |
+
Go to WP admin area, Appearance -> Fixed Widget Options. Here you can define the top and bottom margins. Set bottom margin value >= footer height. Check the result, please.
|
65 |
+
If your footer height is changing from page to page it is better to use the `Stop ID` option. Here you need to provide the HTML tag ID. The position of that HTML element will determine the margin bottom value. For example, let's take the Twenty Sixteen default theme. The theme's footer container has an id="colophon". In the `Stop ID` option I need to enter just the colophon, without any other symbols!
|
66 |
|
67 |
= How to disable the plugin on mobile devices? =
|
68 |
+
There are two options: `Disable Width` and `Disable Height`. They works the same way. If the browser window width/height is less then or equals specified value, the plugin is disabled. You can also use the [visitor conditions of Advanced Ads](https://wpadvancedads.com/manual/visitor-conditions/) to target specific user groups.
|
69 |
+
|
70 |
+
== Screenshots ==
|
71 |
+
|
72 |
+
1. The Fixed Widget for WordPress plugin in action
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
+
= 5.1.5 =
|
77 |
+
|
78 |
+
* author change
|
79 |
+
|
80 |
= 5.1.4 =
|
81 |
+
* Added filter "q2w3-fixed-widgets". It allows to filter array of widgets marked as fixed.
|
82 |
|
83 |
= 5.1.3 =
|
84 |
* Now compatible with WP Page Widget plugin
|
195 |
* Improved compatibility with Webkit based browsers (like Chrome and Safari).
|
196 |
* Removed unnecessary CSS.
|
197 |
|
|
|
198 |
= 1.0 =
|
199 |
* First public release.
|