Support » Plugins and Hacks » Hacks » Add a custom dashboard widget to Posts / "Add New" ??

  • 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&rsquo;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!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add a custom dashboard widget to Posts / "Add New" ??’ is closed to new replies.