It may be useful in developing a plugin and not only, place a panel of information, summary or otherwise, directly in Dashboard (Dashboard) of WordPress, as it is for standard panels of the "Current Status", "Recent "... etc.
Wordpress allows you to add our panels easily, using the function wp_add_dashboard_widget() :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| / / First we add a via Hook 'wp_dashboard_setup' / / To record our creation function , 'example_add_dashboard_widgets' ) ; add_action ('wp_dashboard_setup', 'example_add_dashboard_widgets');
/ / This adds to the physical panel Dashboard example_add_dashboard_widgets function () { , wp_add_dashboard_widget ('example_dashboard_widget', 'Example Dashboard Widgets', ; 'Example_dashboard_widget_function'); }
/ / Draw the contents of the panel example_dashboard_widget_function function () { ; echo "Try my widgets on the Dashboard"; } |
The function wp_add_dashboard_widget() has the following synopsis:
1 2 3 4 5 6 7 8 9 10
| / / / / $ Widget_id - is a unique identifier type slug. / / Will be used also as a class in css style / / $ Widget_name - Name of the widgets displayed in the bar / / $ Callback - which will show the name of the FunZone conntenuto / / $ Control_callback - (Optional) Name of the function used to send / / Parameters through forms / / , wp_add_dashboard_widget ($ widget_id, $callback , $control_callback = null ) Widget_name $, $ callback, $ control_callback = null) |
Continued ...
A good record and a great satisfaction!
Continued ...
It was a little 'I wanted to report it, because WP Bannerize is going to increase to nearly 10,000 downloads! But time - recently - it's really a tyrant!

Continued ...
A few days ago I released a new major release (the 2.3.0) of the WordPress plugin WP Bannerize , for last year. In addition to having introduced the use of widgets (which I hope to write something in the near future) or "finally" allowed to filter out the banners for class.
Continued ...
BlogBabel , who had taken a break some time ago , reopens with a new look and many new features. The reopening of BlogBabel coincides with my well-deserved break: a couple of weeks off after two long years! Due to birth twins.
On my return in early August, I hope to be able to reactivate all the widgets for the monitoring of statistics BlogBabel . I have already contacted those responsible to check the availability of the API , at the time of writing apparently disabled.
For now, therefore, a good break and rest to all 
Continued ...
Thanks to "spurred" by TV Revolution I made a small Christmas Widgets (see if we can improve it with your comments).
To use simply insert the following code on your site:
The parameter h determines the height in pixels of the movie. By default, this is shown in absolute position and width to 100%. To change this setting used abs=0 to place the snow inside the page, not above. Instead, use w=800 to set a personal dimension. For example:
Create snow 50 pixels, 640 pixels wide, and relative position, as shown below:
Continued ...
Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...