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 Best Pinterest Alternatives to Use if You are Bored of Pinterest

Pinterest is a loved social media network among the lover of aesthetics, mostly females tbh. Now, however more and more people are...

Ways you can add links to your Instagram post in 2021

Instagram has many cool features which need no introduction. However, there are a number of features that...

Finance App You should Have on Your iPhone and Android

We live in the age of digitization. When everything is digital, it is no surprise that money has joined the club too....

5 Video Editing Softwares to Try Your Hand at in 2021

Video is the king when it comes to social media. With reels dominating Instagram and Facebook and...

Charge Your Laptop Without a Charger in 5 Ways

Forgetting your laptop charger is a pretty common thing. We all have been there and all of...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here