Version Description
- Enhanced compatibility with Advanced Ads plugin. Added filter "q2w3-fixed-widgets".
Download this release
Release Info
Developer | Max Bond |
Plugin | Q2W3 Fixed Widget |
Version | 5.1.4 |
Comparing to | |
See all releases |
Code changes from version 5.1.3 to 5.1.4
- q2w3-fixed-widget.php +6 -4
- readme.txt +6 -19
q2w3-fixed-widget.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.q2w3.ru/q2w3-fixed-widget-wordpress-plugin/
|
|
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: http://www.q2w3.ru/
|
10 |
*/
|
11 |
|
@@ -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 |
|
@@ -98,6 +98,8 @@ class q2w3_fixed_widget { // Plugin class
|
|
98 |
$i = 0;
|
99 |
$sidebar_options = array();
|
100 |
|
|
|
|
|
101 |
foreach ( self::$fixed_widgets as $sidebar => $widgets ) {
|
102 |
|
103 |
$sidebar_options[ $i ] = array(
|
@@ -495,9 +497,9 @@ class q2w3_fixed_widget { // Plugin class
|
|
495 |
|
496 |
public static function settings_page_recommend_box($options) {
|
497 |
|
498 |
-
echo '<ul><li><a href="https://wordpress.org/plugins/advanced-ads/" target="_blank"><b>Advanced Ads</b></a> -
|
499 |
|
500 |
-
echo '<li><a href="https://wordpress.org/plugins/autoptimize/" target="_blank"><b>Autoptimize</b></a> -
|
501 |
|
502 |
}
|
503 |
|
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.4
|
9 |
Author URI: http://www.q2w3.ru/
|
10 |
*/
|
11 |
|
17 |
|
18 |
const ID = 'q2w3_fixed_widget';
|
19 |
|
20 |
+
const VERSION = '5.1.4';
|
21 |
|
22 |
protected static $sidebars_widgets;
|
23 |
|
98 |
$i = 0;
|
99 |
$sidebar_options = array();
|
100 |
|
101 |
+
self::$fixed_widgets = apply_filters( 'q2w3-fixed-widgets', self::$fixed_widgets ); // this filter was requested by users
|
102 |
+
|
103 |
foreach ( self::$fixed_widgets as $sidebar => $widgets ) {
|
104 |
|
105 |
$sidebar_options[ $i ] = array(
|
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> - 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> - site optimization and caching plugin. Fully compatible with Q2W3!</li></ul>'.PHP_EOL;
|
503 |
|
504 |
}
|
505 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: Max Bond
|
3 |
Tags: sidebar, widget, scroll, scrolling, fixed, fixed widget, floating, floating widget, sticky, sticky widget, russian, q2w3
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.9.
|
6 |
-
Stable tag: 5.1.
|
7 |
|
8 |
Fixes positioning of the selected widgets, when the page is scrolled down.
|
9 |
|
@@ -30,14 +30,6 @@ Compatibility note. The plugin is not working with all themes! Theme requirement
|
|
30 |
|
31 |
In some cases (widget "jumping" during scroll and etc.) theme CSS changes may be required.
|
32 |
|
33 |
-
Supported languages:
|
34 |
-
|
35 |
-
* English
|
36 |
-
* Russian
|
37 |
-
* Spanish - [Ramón](http://apasionados.es)
|
38 |
-
* French - [Murat](http://wptheme.fr)
|
39 |
-
* German - Stefan Meier
|
40 |
-
|
41 |
== Installation ==
|
42 |
|
43 |
1. Follow standard WordPress plugin installation procedure
|
@@ -72,18 +64,13 @@ If your footer height is changing from page to page it is better to use `Stop ID
|
|
72 |
= How to disable the plugin on mobile devices? =
|
73 |
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 - the plugin is disabled.
|
74 |
|
75 |
-
|
76 |
-
== Other Notes ==
|
77 |
-
|
78 |
-
Other Q2W3 plugins:
|
79 |
-
|
80 |
-
* [Code Insert Manager](http://wordpress.org/extend/plugins/q2w3-inc-manager/)
|
81 |
-
|
82 |
-
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
85 |
= 5.1.3 =
|
86 |
-
* Now compatible
|
87 |
|
88 |
= 5.1.2 =
|
89 |
* Now works fine with Shortcodes Ultimate widgets!
|
2 |
Contributors: Max Bond
|
3 |
Tags: sidebar, widget, scroll, scrolling, fixed, fixed widget, floating, floating widget, sticky, sticky widget, russian, q2w3
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.9.4
|
6 |
+
Stable tag: 5.1.4
|
7 |
|
8 |
Fixes positioning of the selected widgets, when the page is scrolled down.
|
9 |
|
30 |
|
31 |
In some cases (widget "jumping" during scroll and etc.) theme CSS changes may be required.
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
== Installation ==
|
34 |
|
35 |
1. Follow standard WordPress plugin installation procedure
|
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 - the plugin is disabled.
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 5.1.4 =
|
70 |
+
* Enhanced compatibility with Advanced Ads plugin. Added filter "q2w3-fixed-widgets".
|
71 |
+
|
72 |
= 5.1.3 =
|
73 |
+
* Now compatible with WP Page Widget plugin
|
74 |
|
75 |
= 5.1.2 =
|
76 |
* Now works fine with Shortcodes Ultimate widgets!
|