Last active
August 29, 2015 14:08
-
-
Save frankschrijvers/d801c9587c1bc61d6f9f to your computer and use it in GitHub Desktop.
add_dasboard_widge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ Add theme info box into WP Dashboard | |
function themebuilder_add_dashboard_widgets() { | |
wp_add_dashboard_widget('wp_dashboard_widget', 'Theme Details', 'themebuilder_theme_info'); | |
} | |
add_action('wp_dashboard_setup', 'themebuilder_add_dashboard_widgets' ); | |
function themebuilder_theme_info() { | |
echo "<ul> | |
<li><strong>Developed By:</strong> <a href='http://www.frankschrijvers.com' target='_blank'22>Frank Schrijvers</a></li> | |
<li><strong>Website:</strong> <a href='http://www.themebuilder.nl'>ThemeBuilder.nl</a></li> | |
<li><strong>Contact:</strong> <a href='mailto:info@themebuilder.nl'>info@themebuilder.nl</a></li> | |
<li>For full documentation please visit our <a>Support pages</a><li> | |
</ul>"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment