sksmatt / wordpress-widgets-helper-class Goto Github PK
View Code? Open in Web Editor NEWA class to ease creating Widgets on WordPress.
A class to ease creating Widgets on WordPress.
How can I make possible to use HTML tags in text and textarea fields?
Hello, firstly I want to thank you for building out this great class. I was implementing it and noticed that my widget wasn't properly being instantiated, seems that all that needed to be modified was the add_action at the end of the class, your demo has add_action('init', 'mv_my_register_widget', 1); which didn't seem to work for me .
add_action('widgets_init', 'mv_my_register_widget'); - did seem to work however.
Hey this is a great little class. I just noticed though you are using esc_attr__ for field creation. This function is for translated strings though and in this case there is no need to localize them so esc_attr should be used instead ;)
Hi!
Very nice helper class, with clean codes and helpful fields, thanks for your work!
Just wanted to let you know that the widget() function was missing $args['before_widget'] and $args['after_widget'] to generate the opening and closing HTML tags for the widget.
Hope it helps!
This class seems abandoned but people is still using it.
I am mantaing a fork with various patch and features: https://github.com/WPBP/Widgets-Helper
Maybe mention in the readme and archive this repo can be a solution to promote a better class :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.