Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
//-> Do NOT include the opening php tag
// Add theme info box into WordPress Dashboard
add_action('wp_dashboard_setup', 'rvam_add_dashboard_widgets' );
function rvam_add_dashboard_widgets() {
wp_add_dashboard_widget('wp_dashboard_widget', 'Theme Details', 'rvam_theme_info');
}
function rvam_theme_info() {
echo "<ul>
<li><strong>Developed By:</strong> RVA Media, LLC</li>
<li><strong>Website:</strong> <a href='http://www.rvamedia.com'>www.rvamedia.com</a></li>
<li><strong>Contact:</strong> <a href='mailto:themes@rvamedia.com'>themes@rvamedia.com</a></li>
<li><strong>Theme Instructions:</strong> <a href='".get_site_url()."/wp-admin/admin.php?page=genesis-readme'>README</a></li>
</ul>";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.