How can i make for example Worpdpress Widget.
I want a area dragged and dropped and hold its position into the database.
Does somebody has tips/ideas?
Thanks!
Leave a Reply
You must be logged in to post a comment.
How can i make for example Worpdpress Widget.
I want a area dragged and dropped and hold its position into the database.
Does somebody has tips/ideas?
Thanks!
You must be logged in to post a comment.
Create a new plugin and open init.php file.
add following code(this is an example code for a widget)
widgets_init hook will call register_my_user_widget method. Then My_User_Widget Class will be called. once you activated the widget you can see it in widgets window and drag and drop it where you want.