get( 'Version' ); echo "

Planet Foundation Theme, Version $theme_ver

"; echo '

Thank you for using the Planet Foundation theme. Here are some links you may find useful:

'; echo ''; echo '

If you like this theme, consider adding a Review

'; echo '

This theme is free, but it takes a lot of work to maintain it. If you like this theme and use it, please consider helping a guy out by contributing towards its support. Thank you!

'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; } function pf_add_dashboard_widgets() { if ( current_user_can( 'edit_theme_options') ) { wp_add_dashboard_widget('pf-theme-dashboard-widget', 'Planet Foundation Theme', 'pf_add_theme_dashboard_widget'); // Attempt to get our widget to the top of the list global $wp_meta_boxes; $normal_dashboard = $wp_meta_boxes['dashboard']['normal']['core']; $widget_backup = array( 'dashboard_widget' => $normal_dashboard['pf-theme-dashboard-widget'] ); unset( $normal_dashboard['pf-theme-dashboard-widget'] ); $sorted_dashboard = array_merge( $widget_backup, $normal_dashboard ); $wp_meta_boxes['dashboard']['normal']['core'] = $sorted_dashboard; } } add_action('wp_dashboard_setup', 'pf_add_dashboard_widgets' );