Widget Options - Version 3.8.9

Version Description

  • Fixed PHP Notices connected to WPML variable
  • Updated wp.org description
Download this release

Release Info

Developer mej
Plugin Icon 128x128 Widget Options
Version 3.8.9
Comparing to
See all releases

Code changes from version 3.8.8 to 3.8.9

Files changed (3) hide show
  1. includes/widgets/display.php +2 -1
  2. plugin.php +2 -2
  3. readme.txt +69 -47
includes/widgets/display.php CHANGED
@@ -227,7 +227,8 @@ if( !function_exists( 'widgetopts_display_callback' ) ):
227
  global $post;
228
 
229
  // WPML FIX
230
- $pageID = ($hasWPML) ? apply_filters( 'wpml_object_id', $post->ID, $post->post_type, true, $default_language ) : $post->ID;
 
231
 
232
  //do post type condition first
233
  if( isset( $visibility['types'] ) && isset( $visibility['types']['page'] ) ){
227
  global $post;
228
 
229
  // WPML FIX
230
+ $page_id = get_queried_object_id();
231
+ $pageID = ($hasWPML) ? apply_filters( 'wpml_object_id', $page_id, 'page', true, $default_language ) : $page_id;
232
 
233
  //do post type condition first
234
  if( isset( $visibility['types'] ) && isset( $visibility['types']['page'] ) ){
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Widget Options
4
  * Plugin URI: https://widget-options.com/
5
  * Description: Additional Widget options for better widget control. Get <strong><a href="http://widget-options.com/" target="_blank" >Extended Widget Options for WordPress</a></strong> for complete widget controls. Thanks!
6
- * Version: 3.8.8
7
  * Author: Widget Options Team
8
  * Author URI: https://widget-options.com/
9
  * Text Domain: widget-options
@@ -85,7 +85,7 @@ final class WP_Widget_Options {
85
 
86
  // Plugin version.
87
  if ( ! defined( 'WIDGETOPTS_VERSION' ) ) {
88
- define( 'WIDGETOPTS_VERSION', '3.8.8' );
89
  }
90
 
91
  // Plugin Folder Path.
3
  * Plugin Name: Widget Options
4
  * Plugin URI: https://widget-options.com/
5
  * Description: Additional Widget options for better widget control. Get <strong><a href="http://widget-options.com/" target="_blank" >Extended Widget Options for WordPress</a></strong> for complete widget controls. Thanks!
6
+ * Version: 3.8.9
7
  * Author: Widget Options Team
8
  * Author URI: https://widget-options.com/
9
  * Text Domain: widget-options
85
 
86
  // Plugin version.
87
  if ( ! defined( 'WIDGETOPTS_VERSION' ) ) {
88
+ define( 'WIDGETOPTS_VERSION', '3.8.9' );
89
  }
90
 
91
  // Plugin Folder Path.
readme.txt CHANGED
@@ -1,72 +1,89 @@
1
  === Widget Options - Add Context To WordPress Widgets ===
2
- Contributors: marketingfire, phpbits, flowdee
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FMKC2SLPTULP8
4
- Tags: widgets, restrict widgets, display widgets, widget logic, hide widgets, hide widget, sidebar, widget content, display widget, widget options, widget option, widget, widget css, CSS, widget classes, widget styling, widget ID, widget custom class, widget visibility, widget ninja, jetpack visibility, siteorigin, siteorigin pagebuilder, pagebuilder by siteorigin
5
  Requires at least: 4.0
6
- Tested up to: 6.0
7
  Requires PHP: 5.6
8
- Stable tag: 3.8.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- Get Better Control over your WordPress Widgets. Easily show or hide WordPress widgets on specific pages, for specific user roles, taxonomy or devices. Elementor supported.
13
 
14
  == Description ==
15
 
16
- <strong>Control your sidebar widgets more!</strong> Assign different contents on your sidebars, footer and any sidebar widgets.
17
 
18
- With over <strong>1,060,000+ downloads</strong> and an <strong>average rating of 4.9 stars</strong>, there are no doubts that Widget Options is the perfect solution for you to take better control of your widgets.
19
 
20
- <strong>Widget Options</strong> adds elegant and feature-packed tabbed options below each widget to completely manage and control each widgets visibility and appearance.
21
-
22
- Built with seamlessly integration with WordPress, Widget Options is the world's most complete widget management plugin solution yet.
23
 
24
  [youtube https://www.youtube.com/watch?v=GNawoUZ_t18]
25
 
26
- <h4>Show or hide widgets on specific WordPress pages</h4>
27
- With Widget Options Plugin, you can easily assign pages visibility and restrict each widgets on different pages, posts, custom post types, categories, tags and custom taxonomies.
 
28
 
29
- <h4>Show or hide widgets on mobile devices, desktop and/or tablet screen sizes</h4>
30
- Display less widgets on your mobile devices for easier website navigation without affecting your desktop and tablet versions. Maximizing this feature you can show different sidebar widget contents for each devices for better user content targeting.
31
 
32
- <h4>Custom WordPress widget alignments</h4>
33
- Change your widget alignment to look better on your site. Comes with <strong>center, left, right and justified alignment</strong> options.
34
 
35
- <h4>Custom Widget ID & Classes</h4>
36
- Create predefined classes on the plugin's setting page and use them later for each widgets. You can also add custom widget ID and additional classes for styling or javascript purposes.
37
 
38
- <h4>Display Widget Logic</h4>
39
- Use <a href="http://codex.wordpress.org/Conditional_Tags">WordPress Conditional tags</a> to manage and restrict your widgets using display widget logic option if you're geeky enough to use PHP conditions and in need of custom restrictions.
40
 
41
- <h4>Hide Widget Title</h4>
42
- Easily hide widget title on front-end display while retaining them on the backend dashboard for labelling.
43
 
44
- <h4>Enable / Disable Options</h4>
 
 
 
45
  Use only the features you want and disable any other widget options easily using the brand new settings page.
46
 
47
- <h4>Live Widget Search Filter</h4>
48
- Increase administrator widget management by enabling live widget search box on your widget dashboard to locate any widgets easier rather than scrolling the page.
 
 
 
 
 
 
 
 
 
 
49
 
50
- <h4>Easily Move WordPress Widgets without dragging</h4>
51
- Increase productivity and widgets management by moving any widgets easily by clicking a link and selecting the sidebar widget area instead of drag and drop! Elegant option specially on smaller screen devices such as mobile.
52
 
53
- <h4>Import & Export Widgets and Widget Area Backup</h4>
54
- You can now import and export WordPress widgets easily and create any backup of specific sidebar widget areas. Move widgets to another websites at ease.
55
 
56
- <h4>View your changes live!</h4>
57
- This plugin is customizer ready for easier customization. View your changes live before saving it, <strong>not just better control but a time saver plugin!</strong>
58
 
59
- <h3>Pagebuilder by SiteOrigin Plugin Compatible</h3>
60
- Extend your SiteOrigin Pagebuilder powered website's widget panels control and management using Widget Options! Restrict devices visibility, change alignments, hide widget panel title, add custom classes and control visibility using display widget logic option! <br /><strong>Pagebuilder by SiteOrigin Plugin + Widget Options = Total Freedom!</strong>
61
 
62
- <h3>Elementor Pagebuilder Ready!</h3>
63
- Extend Widget Options visibility restrictions to elementor widgets! You can now have same widget management feature available to your Elementor powered websites.
64
 
65
- <h3>Beaver Builder Plugin Ready!</h3>
66
- Now with Beaver Builder plugin integration! You can fully manage each modules on many ways you want it too! Integrated smoothly to upgrade your website building workflow.
67
 
68
- <h3>Advanced Custom Fields (ACF) Support!</h3>
69
- Easily show or hide any widgets using your ACF fields and conditions. You can restric widget with the following conditions:
 
 
 
 
 
 
 
 
70
 
71
  * Equal To
72
  * Not Equal To
@@ -75,12 +92,11 @@ Easily show or hide any widgets using your ACF fields and conditions. You can re
75
  * Is Empty
76
  * Is Not Empty
77
 
78
- ACF integration is also available on Elementor and Beaver Builder integration.
79
 
80
- <blockquote>
81
- <p><strong>Upgrade to Extended Widget Options</strong><br />
82
- For more widgets management and restriction options, upgrade to <a href="http://widget-options.com/pricing/">Extended Widget Options today!</a></p>
83
- </blockquote>
84
 
85
  <h4>Premium Features</h4>
86
 
@@ -98,14 +114,15 @@ For more widgets management and restriction options, upgrade to <a href="http://
98
  * Permission Options
99
  * Target URLs and Wildcard Restrictions
100
  * Option for child page to inherit parent widget visibilities
 
101
 
102
  Check full <a href="http://widget-options.com/features/">Extended Widget Options features</a>.
103
 
104
- <h4>Add-ons</h4>
105
 
106
- In need of <a href="https://widget-options.com/features/modal-pop-up-and-sliding-widget-options/" target="_blank">WordPress Sliding Panel</a> for your widgets? Check out <a href="https://widget-options.com/features/modal-pop-up-and-sliding-widget-options/" target="_blank">Sliding Widget Options</a> add-on and transform any of your widgets to modal pop-up, slide in and/or sliding widget panel; and increase your website's user engagement!
107
 
108
- If you like to contribute, report issue or have suggestions, you can find the development version on <a href="https://github.com/WidgetOptions/widget-options" target="_blank">Github</a>.
109
 
110
  <strong>More information</strong>
111
 
@@ -154,6 +171,11 @@ Widget Options is a featured pack fully lightweight plugin. Using Query Monitor
154
 
155
  == Changelog ==
156
 
 
 
 
 
 
157
  = 3.8.8 =
158
 
159
  * Fixed PHP Warning: Undefined variable
1
  === Widget Options - Add Context To WordPress Widgets ===
2
+ Contributors: marketingfire, phpbits
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FMKC2SLPTULP8
4
+ Tags: widgets, widget plugins, widget settings, flexible widget area manager, restrict widgets, display widgets, widget logic, hide widgets, hide widget, sidebar, widget content, display widget, widget options, widget option, widget, widget css, CSS, widget classes, widget styling, widget ID, widget custom class, widget visibility, widget ninja, jetpack visibility, siteorigin, siteorigin pagebuilder, pagebuilder by siteorigin, elementor pagebuilder
5
  Requires at least: 4.0
6
+ Tested up to: 6.0.2
7
  Requires PHP: 5.6
8
+ Stable tag: 3.8.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
 
12
 
13
  == Description ==
14
 
15
+ Widget Options lets you add more options to widget settings so you can take full control of your website’s widgets. With over <strong>1,060,000+ downloads</strong> and an <strong>average rating of 4.9 stars</strong>, there is no doubt that Widget Options is the perfect solution for you to manage your widgets better and easier.
16
 
17
+ <strong>Widget Options</strong> expands widget settings by adding elegant and feature-packed options to every widget so you can completely manage and control its visibility and appearance. It allows you to fine tune your sidebar widget visibility depending on user roles, devices, dates, and more!
18
 
19
+ Built with seamless integration with WordPress, Widget Options is yet the world’s most complete widget management plugin.
 
 
20
 
21
  [youtube https://www.youtube.com/watch?v=GNawoUZ_t18]
22
 
23
+ <h3>MORE OPTIONS IN THE WIDGET SETTINGS MEANS MORE CONTROL</h3>
24
+
25
+ With the expanded widget settings that Widget Options bring, you can do all of the following with ease.
26
 
27
+ <h4>SHOW OR HIDE WIDGETS ON SPECIFIC WORDPRESS PAGES</h4>
28
+ With the Widget Options plugin, you can easily control every widget’s visibility or restrictions on different pages, posts, custom post types, categories, tags, and custom taxonomies.
29
 
30
+ <h4>SHOW OR HIDE WIDGETS ON MOBILE DEVICES, DESKTOP AND/OR TABLET</h4>
31
+ Display fewer widgets on your mobile devices for easier website navigation without affecting your desktop and tablet versions. This is one of the features of Widget Options that proves it to be a flexible widget area manager. The device visibility section in the widget settings show which sidebar widgets are active or visible in each device type.
32
 
33
+ <h4>CUSTOM WORDPRESS WIDGET ALIGNMENTS</h4>
34
+ Change your widget alignment to match the entire look of your website. Comes with <strong>center, left, right, and justified alignment</strong> options.
35
 
36
+ <h4>CUSTOM WIDGET ID & CLASSES</h4>
37
+ Create predefined classes on the plugin’s settings page and use them later for each widget. You can also add custom widget ID and additional classes for styling or javascript purposes.
38
 
39
+ <h4>DISPLAY WIDGET LOGIC</h4>
40
+ Use <a href="http://codex.wordpress.org/Conditional_Tags">WordPress Conditional tags</a> to manage and restrict your widgets using display widget logic option if you’re geeky enough to use PHP conditions and in need of custom restrictions.
41
 
42
+ <h4>HIDE WIDGET TITLE</h4>
43
+ Easily hide widget titles from the front-end display while retaining them on the backend dashboard for labeling.
44
+
45
+ <h4>ENABLE / DISABLE OPTIONS</h4>
46
  Use only the features you want and disable any other widget options easily using the brand new settings page.
47
 
48
+ <h4>USER LOGIN STATE</h4>
49
+ Decide which widgets have to be visible or invisible to either logged-in or non-logged-in users. This feature is helpful when you want certain website functions to be available only to registered users.
50
+
51
+ <h4>STICKY/FIXED WORDPRESS WIDGETS (Premium)</h4>
52
+ This premium feature allows widgets to be always visible to users as they scroll up and down a webpage. Make your most important widgets sticky or fixed so that users can access them easily.
53
+
54
+ <h3>WIDGET OPTIONS’ TIME-SAVING FEATURES</h3>
55
+
56
+ Widget plugins shouldn’t only give you control over your widgets. They must also save you a lot of time! Here are Widget Options’ features that can do that.
57
+
58
+ <h4>LIVE WIDGET SEARCH FILTER</h4>
59
+ Admins save time and manage widgets more efficiently by enabling the live widget search box on your widget dashboard to locate widgets easier. No need to scroll the page.
60
 
61
+ <h4>NO NEED TO DRAG WORDPRESS WIDGETS TO MOVE THEM</h4>
62
+ Increase productivity and improve widgets management by moving any widgets easily with just a click-and-select action. No more drag-and-drop! This is a convenient option especially when using small-screen devices such as tablets or mobile phones.
63
 
64
+ <h4>IMPORT & EXPORT WIDGETS AND WIDGET AREA BACKUP</h4>
65
+ You can now import and export WordPress widgets easily and create backups of specific sidebar widget areas. Move widgets to another website with ease.
66
 
67
+ <h4>VIEW YOUR CHANGES LIVE</h4>
68
+ This plugin is customizer-ready for easier modification. View your changes live before saving it.
69
 
70
+ <h3>COMPATIBLE WITH THE MOST POPULAR PAGE BUILDERS</h3>
 
71
 
72
+ Not all widget plugins are designed to work with page builders. If your websites use SiteOrigin, Elementor, or Beaver, you can make the most of Widget Options. This is another reason why we call it the most flexible widget area manager!
 
73
 
74
+ <h4>PAGE BUILDER BY SITEORIGIN PLUGIN COMPATIBLE</h4>
75
+ With Widget Options on your website that is powered by SiteOrigin Page Builder, you can add more control to the widget panels. Manage visibility on specific device types, change alignments, hide widget panel title, add custom classes, and control visibility using display widget logic option!
76
 
77
+ <strong>Page Builder by SiteOrigin Plugin + Widget Options = Total Freedom!</strong>
78
+
79
+ <h4>ELEMENTOR PAGE BUILDER READY</h4>
80
+ Extend Widget Options’ visibility restrictions on elementor widgets! You can now have the same widget management features available to your Elementor-powered websites.
81
+
82
+ <h4>BEAVER BUILDER PLUGIN READY</h4>
83
+ Widget Options now comes with Beaver Builder plugin integration – integrated for a smooth website building workflow. You can fully manage each module in many ways you want!
84
+
85
+ <h4>ADVANCED CUSTOM FIELDS (ACF) SUPPORT</h4>
86
+ Easily show or hide any widget using your ACF fields and conditions. You can create restrictions on your widgets with the following conditions:
87
 
88
  * Equal To
89
  * Not Equal To
92
  * Is Empty
93
  * Is Not Empty
94
 
95
+ The ACF function is also available for Elementor and Beaver Builder.
96
 
97
+ <h3>UPGRADE TO EXTENDED WIDGET OPTIONS</h3>
98
+
99
+ Turn Widget Options into an even more flexible widget area manager. Upgrade to <a href="http://widget-options.com/pricing/">Extended Widget Options today!</a> today!
 
100
 
101
  <h4>Premium Features</h4>
102
 
114
  * Permission Options
115
  * Target URLs and Wildcard Restrictions
116
  * Option for child page to inherit parent widget visibilities
117
+ * Clone Widget
118
 
119
  Check full <a href="http://widget-options.com/features/">Extended Widget Options features</a>.
120
 
121
+ <h3>ADD-ONS</h3>
122
 
123
+ In need of a WordPress <a href="https://widget-options.com/features/modal-pop-up-and-sliding-widget-options/">Sliding Panel</a> for your widgets? Check out <a href="https://widget-options.com/features/modal-pop-up-and-sliding-widget-options/">Sliding Widget Options</a> add-on, and transform any of your widgets to modal pop-up, slide in and/or sliding widget panel; and increase your websites user engagement!
124
 
125
+ We keep Widget Options up-to-date and make this flexible widget area manager even more, well, flexible! If you like to contribute, report issues or have suggestions, you can find the development version on <a href="https://github.com/WidgetOptions/widget-options">Github</a>.
126
 
127
  <strong>More information</strong>
128
 
171
 
172
  == Changelog ==
173
 
174
+ = 3.8.9 =
175
+
176
+ * Fixed PHP Notices connected to WPML variable
177
+ * Updated wp.org description
178
+
179
  = 3.8.8 =
180
 
181
  * Fixed PHP Warning: Undefined variable