Advertisements
Have you ever thought about displaying custom messages or help tips for site users on wp-admin?
Add this simple code to your theme functions.php file and a custom help box will be displayed on wp-admin.
add_action('wp_dashboard_setup', 'custom_dashb_add');
function custom_dashb_add() {
global $wp_meta_boxes;
wp_add_dashboard_widget('custom_help', 'Help!', 'custom_dashb');
}
//
function custom_dashb() {
echo "<div>
<ul style='list-style:disc;margin-left:25px;margin-right:10px;padding-top:10px'>
<li>Text item for tour custom help</li>
</ul>
</div>";
}
Advertisements