Hi everyone,
Im trying to install a custom dashboard widget in my admin panel. In the "funtctions.php" file I have added this test code:
// example custom dashboard widget
function custom_dashboard_widget() {
echo "<p>Dearest Client, Here’s how to do that thing I told you about yesterday...</p>";
}
function add_custom_dashboard_widget() {
wp_add_dashboard_widget('custom_dashboard_widget', 'How to Do Something in WordPress', 'custom_dashboard_widget');
}
add_action('wp_dashboard_setup', 'add_custom_dashboard_widget');
It works perfect and the plugin shows under "Home" in the dashboard, but the problem is that I want this widget to show in under "Posts" / "Add-New" page in the dashboard among the other standard widgets (Categories, Tags, etc).
How can I manage to do that?
Thanks in advance!