1
vote
1answer
359 views

How to get “Widget Logic” plugin's input value in a custom widget code (to display on the Widget admin page)

I've got the "Widget Logic" plugin installed. I have created my own widget called "Buzz". I have a sidebar with multiple instances of my custom widget "Buzz". Now, on the Widgets admin page when a ...
5
votes
3answers
3k views

Add class to before_widget from within a custom widget

I have a simple custom widget that asks for its width (that is used later in the front end). The width field is a select dropdown, so a user have predefined options. I will have many instances of my ...