How to Add Custom Dashboard Widgets in WordPress

There are heaps of latest issues popping out for WordPress on a daily basis, however none of them turns out to make the most of this option. WordPress builders will have to upload customized dashboard widget with give a boost to knowledge. In this text we can display you ways you’ll be able to customise dashboard widgets in WordPress.

Simply upload this code to your theme’s purposes.php report or a site-specific plugin.

add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');
 
serve as my_custom_dashboard_widgets() {
international $wp_meta_boxes;

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

serve as custom_dashboard_help() {
echo '<p>Welcome to Custom Blog Theme! Need assist? Contact the developer <a href="mailto:[email protected]">right here</a>. For WordPress Tutorials discuss with: <a href="https://www.wpbeginner.com" goal="_blank">WPBeginner</a></p>';
}

Remember to exchange the e-mail and upload different helpful knowledge.

This code will also be very useful when growing customized issues for purchasers.

Result:

We hope this text helped you find out how to upload customized dashboard widget in WordPress. You might also need to see our information on how to take away pointless pieces from WordPress admin space.

If you loved this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can to find us on Twitter and Facebook.

Recent Articles

The New Apple Music Features to Definitely Try in 2021

Apple Music is a nice app but it is not the most loved app, even among Apple users. The wide range of...

Best Free News Apps for iPhone and iPad in 2021

The year isn’t going as we expected, we are still living through a pandemic and all the problems of the world didn’t...

Best Apps to Hide Pictures & Videos on Your Phone

Privacy is important in everyone’s life, the intensity might change but no one wants to share everything with the world. Even the...

5 Best Health Apps for a Healthy Lifestyle for Everyone in 2021

Times have changed, but the only thing that has remained constant is the need for a healthy lifestyle. Various factors contribute to...

The Most Exciting Features of Apple iOS 14.5 for iPhone and iPad

The Most Exciting Features of Apple iOS 14.5  Apple tries to bring something new and better with every iOS...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here