. */ $agca = new AGCA(); class AGCA{ public function __construct() { add_filter('plugin_row_meta', array(&$this,'jk_filter_plugin_links'), 10, 2); add_action('admin_init', array(&$this,'agca_register_settings')); add_action('admin_head', array(&$this,'print_admin_css')); add_action('login_head', array(&$this,'print_login_head')); add_action('admin_menu', array(&$this,'agca_create_menu')); register_deactivation_hook(__FILE__, array(&$this,'agca_deactivate')); } // Add donate and support information function jk_filter_plugin_links($links, $file) { if ( $file == plugin_basename(__FILE__) ) { $links[] = '' . __('Settings') . ''; $links[] = '' . __('Support') . ''; $links[] = '' . __('Donate') . ''; } return $links; } function reloadScript(){ ?> reloadScript(); ?>

AG Custom Admin Settings



Admin Bar Options

/>

On left:

/>
/>

Info: You can use HTML tags like 'h1' and/or 'a' tag

/>
/>

On right:

/>
/>
/>
/>



Admin Footer Options

/>
/>



Dashboard Page Options

/>
/>

Info: To remove Dashboard widgets go to Screen Options on Dashboard page.




Login Page Options

/>
 

You should surround it with anchor tag <a></a>.

 

Put here link of new login photo (e.g http://www.photo.com/myphoto.jpg). Original photo dimensions are: 310px x 70px.

/>



Info: You can use HTML tags in text areas, e.g. <a href="http://www.mywebsite.com">Visit Us</a>