Add admin notices

This commit is contained in:
Brian Miyaji
2014-01-13 13:51:41 +11:00
parent baea137df4
commit 559b5aaecd
5 changed files with 78 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
<?php
function sportspress_plugin_action_links( $links ) {
$settings_link = '<a href="options-general.php?page=sportspress">' . __( 'Settings', 'sportspress' ) . '</a>';
$themes_link = '<a href="http://themeboy.com/themes/?ref=sportspress" target="_blank">' . __( 'Themes', 'sportspress' ) . '</a>';
$docs_link = '<a href="http://docs.themeboy.com/sportspress" target="_blank">' . __( 'Docs', 'sportspress' ) . '</a>';
$themes_link = '<a href="http://themeboy.com/themes?plugin=sportspress" target="_blank">' . __( 'Themes', 'sportspress' ) . '</a>';
array_unshift( $links, $settings_link, $themes_link );
array_unshift( $links, $settings_link, $docs_link, $themes_link );
return $links;
}