Add Custom widget on Dashboard WordPress

 How to add Custom widget on WordPress Dashboard

How to add Custom widget on Dashboard WordPress

There are some many new themes coming out of WordPress every day, but none of them seem to take advantage of this feature. as developers should add custom WordPress dashboard widget with clear support information. In this article I will show you how you can customize the widget in the WordPress dashboard.

Simply open your functions.php file and add the following code:



add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');

function my_custom_dashboard_widgets() {
global $wp_meta_boxes;

wp_add_dashboard_widget('custom_help_widget', 'Theme Support', 'custom_dashboard_help');
}

function custom_dashboard_help() {
echo '<p>Welcome to Custom Blog Theme! Need help? Contact the developer <a href="mailto:yourusername@gmail.com">here</a>. For WordPress Tutorials visit: <a href="http://www.wordseo.net" target="_blank">wordseo</a></p>';
}

Remember to change the email and add other useful information.
This code can be very helpful when creating custom themes for clients.
Result:

Custom widget on WordPress

1 komentar:

Add Custom Widget On Dashboard Wordpress - Wordseo.Net >>>>> Download Now

>>>>> Download Full

Add Custom Widget On Dashboard Wordpress - Wordseo.Net >>>>> Download LINK

>>>>> Download Now

Add Custom Widget On Dashboard Wordpress - Wordseo.Net >>>>> Download Full

>>>>> Download LINK