Wordpress Help

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
Hi guys,
I am appealing to all your wordpress developers out there for some help. On my dashboard (wp-admin), I would like to display a New Post box. Now I understand roughly how to achieve this through meta boxes or widgets. My current progress gets me to having a widget on the dashboard that simply echo's Hello.
PHP:
function add_dashboard_widget() {

    wp_add_dashboard_widget(
        'dashboard_widget',
        'DashBoard Widget',
        'add_dashboard_widget_content'
        );
};

add_action('wp_dashboard_setup', 'add_dashboard_widget');

function add_dashboard_widget_content() {
    echo 'hello';   
}

Any suggestions?
 
Top