My Widget – example WordPress widget
- How to write a Wordpress plugin: episode 1 – getting started
- wordpress Plugins top 50
- To know wordpress
- Basic WordPress template file
- Tags Are Not Categories – Got It?
- Define Your Own WordPress Loop Using WP_Query
- Welcome to ajaxtime.com !
There’s a funky new WordPress plugin, WordPress Widgets, driving a fair percentage of the WP community to both ends of the enthusiasm spectrum. But love it or hate it, it’s here to stay, and you can pretty much expect to see it end up in the WordPress core in a not to distant future version.
With the appetizer out of the way, let me get to the meat of the post: a thread on the WordPress support forums lead me to the decision the example dev material provided is a bit weak, especially for the neophyte plugin writer. So in the interest of avoiding dozens of similar yelps for guidance over the months to come, I tore through the widgets that tag along with WordPress Widgets (the Google and del.icio.us ones) and after an hour had merged, molded and abused them into an example widget (with lots of explanatory comments!). And now I’m passing that work along to anyone who wants it.
The widget can be considered useful, to boot.
To install, download my-widget.php from here, upload that to your wp-content/plugins/ directory, and activate My Widget under plugins. It’s one of those you should already know this bits of wisdom, but you also need to have WordPress Widgets installed and activated as well, otherwise My Widget is little more than a piece of chocolate cake served up to a coma victim.
If you just want to use the My Widget widget, here’s what it does: when you add it on your sidebar by default it displays “My Widget” for the header (or title) and “Hello World!” for the text. Thankfully these can be edited through the widget’s control.
The little red arrow in the image above points at the control button on the widget bar. Click it and the following pops up:

Just add your own personal title and text, then close the My Widget dialog box and click Save Changes to, well, save the changes. Feel free to use it to display a welcome message or a note about yourself. I’m sure you can think of something to do with it.
So you see you can put it to use, but it’s main purpose is to provide a learning tool or framework for building your own widget. For that reason I’ve sprinkled comments liberally throughout the source code. However if anything is not clear, or if you have suggestions for making My Widget more useful, let me know.
Other News
- Making a Website Layout in Photoshop
- Discover the Single Marquee Tools/ Pixel Stretch Technique
- Discover Selection Modification 2: +Create work path
- Basic Image Enhancement
- STOP! 5 seo tips to optimise your titles and get maximum search engine exposure
- Base AJAX Codes and Examples
- Basic WordPress template file
- PHP and MySQL 5
- Hit Tail, how to improve your SEO and improving long tail traffic
- Discover the Clone Stamp
-

1.CSS+DIV+HTML
Do a framework for the website
Read More | Postd by Ltm.ming -

2.PhotoShop CS
To Beautify the site
Read More | Postd by Ltm.ming -

3.JavaSprict-Script
For User experience
Read More | Postd by Ltm.ming -

4.Programming language
php is very powerful
Read More | Postd by Ltm.ming -

5.SQL & MYSQL
For Information Storage
Read More | Postd by Ltm.ming

PHP and MySQL 5
Beginning PHP 5 and MySQL: From Novice to Professional offers a comprehensive introduction to two of the most popular open source technologies on the planet: the PHP scripting language and the MySQL database server.
Read More | Postd by Ltm.ming
Base AJAX Codes and Examples
Make your Web pages stand out above the noise with JavaScript and the expert instruction in this much-anticipated update to the bestselling JavaScript Bible.
Read More | Postd by Ltm.ming
Mastering CSS with DW CS3
Durch Integration von Datenbankanbindung und Skriptsprachen wird Dreamweaver CS 4 zum alltagstauglichen Werkzeug für die Erstellung einfacher Redaktionssysteme.
Read More | Postd by Ltm.ming
Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites.
Read More | Postd by Ltm.ming
MySQL 5.0 Certification Study Guide
This book is a very comprehensive guide to what MySQL offers and can teach you. br / br /Would definitely recommend for anyone needing a great book about MySQL.
Read More | Postd by Ltm.ming