Giter Site home page Giter Site logo

widgetoptions / widget-options Goto Github PK

View Code? Open in Web Editor NEW
35.0 6.0 16.0 17.96 MB

Additional Widget options for better widget control. Available on

Home Page: https://widget-options.com/

License: GNU General Public License v3.0

CSS 6.55% JavaScript 9.54% PHP 83.42% SCSS 0.48%
wordpress wordpress-plugin wordpress-development widgets

widget-options's Introduction

Plugin Version Total Downloads Plugin Rating WordPress Compatibility License

Welcome to our GitHub Repository

Widget Options for WordPress provide extensive options for better widget management. This plugin will give you complete freedom on handling each of your widgets.

More information can be found at widget-options.com.

Installation

For detailed setup instructions, visit the plugin Installation page.

Bugs

If you find an issue, let us know here!

Support

This is a developer's portal for Widget Options and should not be used for support. Please visit the support page if you need to submit a support request.

Contributions

There are various ways you can contribute:

  1. Raise an Issue on GitHub
  2. Send us a Pull Request with your bug fixes and/or new features
  3. Translate Widget Options into different languages
  4. Provide feedback and suggestions on enhancements

widget-options's People

Contributors

dependabot[bot] avatar medgedecastro avatar phpbits avatar vikasprogrammer avatar webdj-agency avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

widget-options's Issues

hide on devices not working

Try to check hide on mobile => widget visible everywhere
Try to check hide on desktop => widget visible everywhere
Try to check show on desktop => widget visible everywhere
Try to check show/hide on anything => widget visible everywhere in any case

Hiding on all pages

Hi dear I have 2 questions,
Q1- I am using woocommerce price, attributes filters widgets on sidebar that I want to show only on shop page. I selected show on checked pages and check shop page then I also checked custom post type "product" and taxonomy "product-categories" but it hides widgets on all pages including the shop page on which it should show.

Q2- I was facing the error "Catchable Fetal error...." and I replaced the file extra.php according to your instructions and the problem is solved. But will this change be override on update ?.

Catchable fatal error

HI

I am running Gantry 5 and RocketTheme Theme and when i use Widget Options i get this in the latest version!

Catchable fatal error: Object of class Closure could not be converted to string in /home/xxxx/public_html/wp-content/plugins/widget-options/includes/widgets/extras.php on line 133

Was working fine some time ago...

regards

Missing Social Icons

Hi,
On my computer view (not mobile)
screen shot 2018-09-26 at 4 28 10 pm
my social icons on my sidebar are missing except for the E (Etsy) even though they are on the widget editing screen correctly. Please help.

www.leahmariecarson.com

Stop plugin from adding class .widget to widgets ...

The plugin adds the class .widget to all of my widgets, which is getting picked up by the theme and is applying additional CSS that I don’t need. How do I remove the class .widget from my widgets? Why is this even on by default? Because this might be confusing for people that don’t even notice the additional class.

Warning messages after update last version plugin

Warning: Missing argument 2 for PHPBITS_extendedWidgetsDisplay::remove_widget_title(), called in /usr/home/xxx/web/wp-includes/plugin.php on line 235 and defined in /usr/home/xxx/web/wp-content/plugins/widget-options/core/functions.widget.display.php on line 43 Warning: Missing argument 3 for PHPBITS_extendedWidgetsDisplay::remove_widget_title(), called in /usr/home/xxx/web/wp-includes/plugin.php on line 235 and defined in /usr/home/xxx/web/wp-content/plugins/widget-options/core/functions.widget.display.php on line 43 Warning: Invalid argument supplied for foreach() in /usr/home/xxx/web/wp-content/plugins/widget-options/core/functions.widget.display.php on line 46

Elementor ui thing [bug]

In Elementor the widget options take the first place in the advanced tab and it's the first one that is active. although we use this plugin a lot it still very annoying. i know it's a small thing but it would be very nice of you to fix it!

Thank!

Add overlay on background-image option (Extended Widget Options)

I'm using the theme "Astrid" that when I add a background-image automatically the theme add an overlay to make dark the image then I can add legible text above.

After installing Widget-options all my widgets with background-image, has disappeared the overlay above the images, making very hard to read the contents.

It's possivel add this functionality when we use a background-image? or how can edit the widget without destroy my changes after an update?

Thanks!

Set predefined CSS classes list

Hi,

Great plugin, thank you for it!

From what I can see there is no easy way to predefine a set of custom CSS classes. I am a theme author and would like to provide such a set, however, currently the only solution I can see is to hook onto and modify the serialized widgetopts_tabmodule-settings option. Or am I missing something and is there a different, easier solution?

Please consider introducing a filter hook for this.

Thank you!

Oliver

Compass error

I’m getting the following error after activating the plugin:

Error: file to import not found or unreadable: compass on line 1 of widget-options.scss

PHP 7.1 warnings

Widget Options Version 3.1 running on PHP 7.1 will generate an error_log with the following:

PHP Warning: Illegal string offset 'pages' in /home/example/public_html/wp-content/plugins/widget-options/core/functions.widget.display.php on line 241

PHP Warning: Illegal string offset 'pages' in /home/example/public_html/wp-content/plugins/widget-options/core/functions.widget.display.php on line 243

PHP Warning: array_key_exists() expects parameter 2 to be array, string given in /home/example/public_html/wp-content/plugins/widget-options/core/functions.widget.display.php on line 243

Elementor row enable [Feature request]

Please add the ability to set conditions for an Elementor row (not only widget or column). this is very very often thing we use. Thanks! Great plugin btw!!!

Display Widget Logic for Super Admins only on Multisite

Hi,

I have a lot of Multisite installs with hundreds of websites running on them. Mostly client websites. I don't allow them to modify any code, so the installation remain safe.

The Display Widget Logic option allows them to write any PHP code, which is not a good idea in a Multisite install.

Please add a condition for the Display Widget Logic to show this only for Super Admins, if it is a Multisite install. It is very easy to add this using the unfiltered_html capability, which belongs only to Super Admins if it is a Multisite, but belongs to the normal Admin on a normal install.

This capability is meant to be used in these very situations, so please add this feature, Multisite owners will love this move. :)

Thank you!

PHP errors after upgrade to 3.7

I posted this on the WP support forums before reading the sticky posts. Figured I'd post it here as well, as it seemed like it is preferred to bring issues here.

I upgraded to version 3.7 today, and now I’m getting a number of PHP errors on every page load, whether in the admin or on the front end.

Here’s one of these errors:

PHP message: PHP Notice:  Undefined index: acf in /wordpress-path/wp-content/plugins/widget-options/includes/widgets/display.php on line 222

This happens at least ten times on each page load.

I’m not running Advanced Custom Fields at all, in case that is relevant.

Error on Safari

There is an error showing when I access pages in our site using the current version of Safari:

Warning: unserialize() expects parameter 1 to be string, array given in /home/content/a2pnexwpnas04_data01/07/3557007/html/wp-content/plugins/widget-options/core/functions.option.tabs.php on line 30

Warning: unserialize() expects parameter 1 to be string, array given in /home/content/a2pnexwpnas04_data01/07/3557007/html/wp-content/plugins/widget-options/core/functions.widget.display.php on line 30

I also see a flash of something similar on Chrome but it seems to clear after the first hit. This is showing at the top of the page and shows errors all over the page on older versions of safari.

Allow Display Logic to be disabled with constant

Because of the potential security risks associated with allowing text to be directly eval'd, it would be great if we could disable "Display Logic" with a wp-config.php constant. While I'm currently using the existing filter, widget_options_logic_override to disable it, it would be nice to be able to disable it with a constant.

Support for is_active_sidebar()

The Wordpress function is_active_sidebar() can be used to check whether any widgets are loaded into a sidebar.

When a widget is loaded into the sidebar but is hidden via Widget Options, I expectis_active_sidebar()to return false.

Currently it returns true - is_active_sidebar() treats a hidden widget as an active widget.

Can you inform Wordpress that a hidden widget is not active?

if ( is_active_sidebar('sidebar-1') ) {
// if there are some widgets loaded into the sidebar AND they are not hidden via Widget Options
  get_sidebar();
}
else {
// else no widgets loaded into sidebar, or the ones that are loaded are hidden via Widget Options
}

Thanks,
Dan

Problem theme

Hi, thank you too,
Https://jidi.ir it's my website. In first page you can see problem.distance box of content on left and right. Theme at first it was like this.but I add css and remove the distance in left and right. this problem in mobile its so bad. Second problem is widget on footer. Background and title is changed. when disable plugin problem become fix. but i need this plugin.
Thanks for helping me.
Comment on issue

Leave a comment
Close issue Comment
Notifications for this thread
You’re receiving notifications because you authored the thread.

Unsubscribe
Desktop version

Activation Error when using PHP 7.2

Activating the plugin, then return to the plugin list page has this at the top:

Fatal error: Uncaught Error: [] operator not supported for strings in /wp-content/plugins/widget-options/includes/install.php:29
Stack trace:
#0 /wp-includes/class-wp-hook.php(288): widgetopts_filter_plugin_actions('<')
#1 /wp-includes/plugin.php(203): WP_Hook->apply_filters('<', Array)
#2 /wp-admin/includes/class-wp-plugins-list-table.php(714): apply_filters('plugin_action_l...', '<', 'widget-options/...', Array, 'all')
#3 /wp-admin/includes/class-wp-plugins-list-table.php(534): WP_Plugins_List_Table->single_row(Array)
#4 /wp-admin/includes/class-wp-list-table.php(1165): WP_Plugins_List_Table->display_rows()
#5 /wp-admin/includes/class-wp-list-table.php(1097): WP_List_Ta in /wp-content/plugins/widget-options/includes/install.php on line 29

Add/Remove a menu for private pages

It would be great if we could display a widget only for choosen private pages.
For example, I'd like to create a private space, and would like to display a menu only in this private space.

Destroyed

When I updated widget options.my theme get problem.I need previous version.please give me link of previous version.I search any where

Suggestion to import 'Display widgets' settings

Great plugin. Just a suggestion - now that the plugin "display Widgets" has been defunct due to recent spamming issues, it might be a good idea to add a "import settings from display widgets" option in your plugin? It would really help people who have that plugin installed on loads of sites & need to replace it with this plugin

Tag Archive Pages Show ALL widgets

I have many of my widgets set to only show on select post type/pages or taxonomy/categories. It is working fine for all the assigned pages and categories, only showing the correct widget on the associated page or category. Having a problem on the tag archive pages. These pages are showing ALL of my widgets.

For example, see this tag archive page that shows all widgets. No widgets should appear. -- http://www.zekiah.com/zekiah_wordpress/tag/arcmap

I thought about making my archive pages full width in my theme files, but that also affects my category pages that need the sidebar.

capture

Avia Page Builder not supported?

Hello,

widget is visible to unlogged user in Avia Page Builder even when widget is configured to be hidden in that case.

Best regards

Show/hide not working on Categories?

Hi there,

We'be installed your plugin and are only trying to show widgets on pages that have a particular category selected however this doesn't appear to be working? I'm assuming it's as simple as select "show page on" > taxonomy > tick category and thats it? Any other steps required?

https://endlessoceans.com.au/fishing/

Thanks

Widget Shows on Single Post When All Categories Chosen

I posted this on https://wordpress.org/support/topic/widget-shows-on-single-post-when-all-categories-chosen/, but I'll post it here as well since it seems like this may be the right place:

"We recently started using your plugin for a number of client sites. We’re somewhat confused about how the “All Categories” option works under the “Taxonomies” within “Visibility”. Here’s the scenario:

  • We have a widget that we set to “Show on checked pages”
  • We checked “All Categories”
  • When we visit a single post of a custom post type the widget shows up

Upon digging into the code it looks like if “All Categories” is checked and the page is_single() even if it’s not a blog post the widget will still show. It seems like that should only be the case for blog posts, not custom post types.

Let me know if you need me to explain in more depth. Thanks for considering this."

Incopatibility With Storefront Megamenu

Hello,
I have been using the plugin for a wile now, and it is great. However I ran in to a issue with Store Mega Menu Plugin. Where the any wiget itens display.

Hope you can help.
It realy is a great plugin.

jQuery UI css conflicts

Hello,
I'm using your amazing plugin, it's working correctly, although I've noticed some jQuery UI conflict in the page of other plugins. I'm attaching an image:
Image of css conflict
How can I solve this problem?
Is it possible to avoid to load the jQuery library inside the page of other plugins?

Thank you very much,
Cheers!

Bug when aply php logic in widget visibility

I'm trying aply php code for widget visibility, but when I use the following character "<" doesn't work.
in the line 360 aproximately, the eval funtion don't understand this character and interpret that this character y an HTML entity.

Estoy intentando aplicar código PHP para cambiar la visibilidad de un widget, pero cuando introduzco el caracter "<", el plugin no funciona.
He investigado y he visto que en la linea 360 aproximadamente, la función eval no funciona al interpretar este código como un elemento de HTML (la llave de abrir etiquetas).

Te dejo una posible solución a esto.

$display_logic="return (" . html_entity_decode($display_logic, ENT_COMPAT | ENT_HTML401 | ENT_QUOTES) . ");";

Conflict between Jetpack Related Posts and Widget Options

Not sure if this is a JetPack issue or Widget Options issue, but my related posts widget from Jetpack lines up incorrectly (see oatandsesame.com sidebar) when Widget Options is activated. When I deactivate it lines back up. This only happens on my home page and not on individual posts. Any ideas?

jQuery UI css conflicts

Hi -

It looks like the JQUI CSS enqueued by the plugin is conflicting with some other plugins, so that buttons and other elements in the WP Admin area are affected. Would it be possible to add an option in the plugin settings to make enqueuing this UI theme optional?

Thanks

CPTs no longer show in visibility options

Hello

Recently realized that my custom post types no longer appear on the visibility options.

I am using Toolset Types.

I'm a newb, please advise me on how to troubleshoot or fix this

Removing sidebar from single posts

Please forgive me if my terminology is bad. I'm combining my web site and old blog on Wordpress.org using Photocrati. So far, so good, but I would like to have the sidebar only on the blog page and not on the single post pages. I activated Widget Options and got it to work, but... although it has removed the sidebar, I still have the space left on the right hand side. Can you help please?

Suggestion: visibility for post type archive

Love the plugin.

Just a quick suggestion: It would be nice if you added the option to filter the visibility of post type archives. Currently there is the option for "Archives" but that covers every archive.

A use case is to show sidebar widgets for a certain custom post type, such as WooCommerce.

Thanks

problem with plugin

Hi. This plugin magically disappeared from my wordpress site. I've been trying to add it again and get the following error "Installation failed: Destination folder already exists." I don't see widget options on my list of plugins.
Please tell me what to do.
Best,
Rachel

On/Off switch for plugin

This is a usability suggestion:
As the options appear on every widget whether they're used or not, for sites with lots of widgets and complex placements, it's fastidious when maintaining the site to scroll through all the visibility pages and other options to see which, if any, has been checked, or any CSS or logic entered.

So I'd suggest putting a checkbox on top, to globally enable or disable widget options.
This would make it very easy to check out if any option has been entered (box checked), at a single glance, before starting scrollling down for specific pages or the various tabs.

Not show on WooCommerce Shop page.

Thank you for your great product.

I've tried and found that - if I set the widget to show on WooCommerce's Shop page, it's not working.

How to reproduce?

Use any theme (This is Twenty Seventeen) and choose Show on checked pages. I choose "Shop" page and also "Product" post type.

screenshot 2017-08-20 10 41 16

Please advise,

Thank you so much.

Hide/Show on Pages Not Working

I'm using Widget Options Lite on a site with Elegant Theme's Extra theme; after a few recent theme updates, Widget Options' Hide/Show on selected pages/posts/etc no longer works. Regardless of what option(s) are chosen, the widgets still appear.

The test site I'm using isn't public and I can't currently grant access to it outside of my company, but I can provide any additional code/details on here as needed.

woocommerce main page (/shop) problems

On the woocommerce main page /shop the visibility doesn't work right. some widget are visible but set to invisible other are set to invisible but visible. On other paths it works.

Indent child pages

Would be very useful to me if you could indent and organize pages not alphabetically but by page and sub pages. Thanks

Warning Message when Activated

Hi! When I activate the plugin, I get this warning message across the top of my screen:

Warning: unserialize() expects parameter 1 to be string, array given in /home/content/p3pnexwpnas05_data01/14/2419114/html/wp-content/plugins/widget-options/core/functions.widget.display.php on line 30

I'm not sure what to do with this? Can you help?

Import / Export

We suggest that there should be a new feature to export all plugin’s settings. In many of our projects we do have hundreds of widgets and all of them include widget logic. We would very much appreciate to backup these logics. We use “Widget Importer & Exporter”, but this plugin only backups the widgets, without any 3rd party logic on them.

Thumbs up for your great plugin!

Can't show widget on homepage only

Hi, I am trying to show a widget on hompege only. When I choose Show on 'Checked Pages---->Home/Front' the widget doesn't appear anywhere on the site, not even the homepage. When I click 'Hide on Checked Pages---->Home/Front' it appears everywhere, including the homepage. I can't seem to get this thing to work!! The site is www.aroundtheworldin80jobs.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.