-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp-contact-widget.php
executable file
·26 lines (21 loc) · 1.13 KB
/
wp-contact-widget.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
// Plugin Name: Developer Contact Info
// Plugin URI: https://github.com/jclwilson/wp-contact-widget
// Description: Displays Jacob's contact info on the WordPress homescreen. Useful for getting in touch when things break.
// Version: 1.0.0
// Author: Jacob Charles Wilson
// Author URI: https://jacobcharleswilson.com
// License: GNU General Public License v2
// License URI: http://www.gnu.org/licenses/gpl-2.0.html
// Text Domain: wp-contact-widget
// GitHub Plugin URI: https://github.com/jclwilson/wp-contact-widget
function jclwilson_contact_widget() {
global $wp_meta_boxes;
function custom_dashboard_help() {
echo '<p>This WordPress theme was built by Jacob Charles Wilson (@jclwilson).</p><p>The code is stored on Github at <a href="https://github.com/jclwilson/">github.com/jclwilson</a>.</p><p>Still need help? Email <a href="mailto:[email protected]">[email protected]</a>.</p>';
}
wp_add_dashboard_widget('custom_help_widget', 'About this website', 'custom_dashboard_help');
}
add_action('wp_dashboard_setup', 'jclwilson_contact_widget');
// End Custom Admin Dashboard Widget
?>