开发者 | AaronRutley |
---|---|
更新时间 | 2016年10月3日 14:27 |
PHP版本: | 3.4.2 及以上 |
WordPress版本: | 4.6.1 |
版权: | GPL2+ |
Minimal Admin
to /wp-content/plugins/
So your project links appear in the quicklinks dropdown under the W icon in the admin bar you need to:
First, define your local URL in wp-config.php or functions.php as this only works on local.
define('LOCAL_URL', 'http://minimaladmin.dev');
Secondly, add a function similar to the following to your theme's functions.php
function minimal_admin_project_links() { $minimal_admin_project_links = array( array("Local","http://localurl.com"), array("Staging","http://stagingurl.com"), array("Trello","http://trellourl.com"), array("Git Repo","http://gitrepourl.com") ); return $minimal_admin_project_links; }