{"id":15543668,"url":"https://github.com/michaeluno/wp-admin-buttons","last_synced_at":"2025-04-09T06:27:14.079Z","repository":{"id":26453355,"uuid":"29904516","full_name":"michaeluno/wp-admin-buttons","owner":"michaeluno","description":"A WordPress plugin that displays buttons with the style used in the WordPress administration area.","archived":false,"fork":false,"pushed_at":"2015-02-01T11:03:55.000Z","size":476,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-03T12:32:57.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaeluno.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-27T08:26:58.000Z","updated_at":"2015-02-01T11:03:02.000Z","dependencies_parsed_at":"2022-08-29T15:51:41.407Z","dependency_job_id":null,"html_url":"https://github.com/michaeluno/wp-admin-buttons","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2Fwp-admin-buttons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2Fwp-admin-buttons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2Fwp-admin-buttons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaeluno%2Fwp-admin-buttons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaeluno","download_url":"https://codeload.github.com/michaeluno/wp-admin-buttons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247989659,"owners_count":21029349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T12:27:57.876Z","updated_at":"2025-04-09T06:27:14.056Z","avatar_url":"https://github.com/michaeluno.png","language":"PHP","funding_links":["https://www.paypal.com/en_US/i/btn/x-click-but04.gif"],"categories":[],"sub_categories":[],"readme":"# [WP Admin Buttons](http://wordpress.org/plugins/wp-admin-buttons/) #\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/michaeluno/wp-admin-buttons/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/michaeluno/wp-admin-buttons/?branch=master)\n\n### Welcome to our GitHub Repository\n\nWP Admin Buttons is an open source WordPress plugin that displays WordPress admin style buttons in the front end.\n\n## Screenshots ##\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://lh4.googleusercontent.com/-7WYs1W1Rhjg/VMdb3OawCjI/AAAAAAAAB7A/TGaxL_iaC6c/s0/screen-shot-3.png\" title=\"WP Admin Buttons - Sceens shot\"\u003e\n\t\t\u003cimg src=\"https://lh4.googleusercontent.com/-7WYs1W1Rhjg/VMdb3OawCjI/AAAAAAAAB7A/TGaxL_iaC6c/s480/screen-shot-3.png\" alt=\"WP Admin Buttons - Sceens shot\" /\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv style=\"margin:20px; float:left\"\u003e\n\t\u003ca href=\"https://lh4.googleusercontent.com/-UAvhM8C_ut4/VMdUBXOjOWI/AAAAAAAAB6Y/AzdEUzPVczo/s0/screen-shot-2.png\" title=\"WP Admin Buttons - Widget Form\"\u003e\n\t\t\u003cimg src=\"https://lh4.googleusercontent.com/-UAvhM8C_ut4/VMdUBXOjOWI/AAAAAAAAB6Y/AzdEUzPVczo/s144/screen-shot-2.png\" alt=\"WP Admin Buttons - Widget Form\" /\u003e\n\t\u003c/a\u003e\n\u003c/div\u003e    \n\n## Installation ##\n\n- The latest development version can be found [here](https://github.com/michaeluno/wp-admin-buttons/branches). \n- The latest stable version can be downloaded [here](http://downloads.wordpress.org/plugin/wp-admin-buttons.latest-stable.zip).\n\n1. Upload **`wp-admin-buttons.php`** and other files compressed in the zip folder to the **`/wp-content/plugins/`** directory.,\n2. Activate the plugin through the `Plugins` menu in WordPress.\n\n## Usage ##\n\n### Widget\n1. Go to **Dashboard** -\u003e **Appearance** -\u003e **Widgets** and add the **WP Admin Buttons** widget to your proffered sidebar.\n\n### Shortcode and Function Parameters\nThe following parameters can be used for the shortcode or the PHP function of the plugin, `printWPAdminButton()` or `getWPAdminButtons()`.\n\n- **href** - the link url.\n\n```php\n[wp_admin_button href=\"http://my-download-url/file.zip\"]\n```\n\n```php\n\u003c?php printWPAdminButton( array( 'href' =\u003e 'http://my-download-url/file.zip') ); ?\u003e\n```\n\n- **label** - the text label shown in the button.\n\n```php\n[wp_admin_button label=\"Get\" href=\"http://my-download-url/file.zip\"]\n```\n\n```php\n\u003c?php printWPAdminButton( array( 'label' =\u003e 'Get', 'href' =\u003e 'http://my-download-url/file.zip' ) ); ?\u003e\n```\n\n- **size** - the button size. This argument accepts either `large`, `medium`, `small`.\n\n```php\n[wp_admin_button size=\"large\" href=\"http://my-download-url/file.zip\"]\n```\n\n```php\n\u003c?php printWPAdminButton( array( 'size' =\u003e 'large', 'href' =\u003e 'http://my-download-url/file.zip' ) ); ?\u003e\n```\n\n- **type** - the button type. This argument accepts either `button-primary`, or  `buton-secondary`.\n\n```php\n[wp_admin_button type=\"button-secondary\" href=\"http://my-download-url/file.zip\"]\n```\n\n```php\n\u003c?php printWPAdminButton( array( 'type' =\u003e 'button-secondary', 'href' =\u003e 'http://my-download-url/file.zip' ) ); ?\u003e\n```\n\n- The follwoing color arguments can override the defult colors.\n\n    - **label_color** - the label text color.\n    - **background_color** - the button background color.\n    - **border_color** - the button border color.\n\n```php\n[wp_admin_button label_color=\"#ccc\" background_color=\"transparent\" href=\"http://my-download-url/file.zip\"]\n```\n\n```php\n\u003c?php \nprintWPAdminButton(\n    array( \n        'label_color'       =\u003e '#ccc',\n        'background_color'  =\u003e 'transparent',\n        'href'              =\u003e 'http://my-download-url/file.zip',\n    )\n); \n?\u003e\n```\n\n- The following additional HTML tag attributes can be set.\n\n    - **title** - the `title` attribute.\n    - **class** - the `class` attribute.\n    - **style** - the `inline` style attribute.\n    - **target** - the `target` attribute.\n    - **rel** - the `rel` attribute.\n\n```php\n[wp_admin_button title=\"Get the file now!\" class=\"my-custom-class-selector\" \"style=\"text-align:center;\" target=\"_blank\" rel=\"nofollow\" href=\"http://my-download-url/file.zip\"]\n```\n\n```php\n\u003c?php\necho getWPAdminButtons( \n    array( \n        'type'      =\u003e 'button-secondary', \n        'title'     =\u003e 'Get the file now!',\n        'class'     =\u003e 'my-custom-class-selector',\n        'style'     =\u003e 'text-align:center',\n        'target'    =\u003e '_blank',\n        'href'      =\u003e 'http://my-download-url/file.zip',\n    )\n); \n?\u003e\n```\n\n## Bugs ##\nIf you find an issue, let us know [here](https://github.com/michaeluno/wp-admin-buttons/issues)!\n\n## Support ##\nThis is a developer's portal for WP Admin Buttons and should _not_ be used for support. Please visit the [support forums](http://wordpress.org/support/plugin/wp-admin-buttons).\n\n## Contributions ##\nAnyone is welcome to contribute to WP Admin Buttons.\n\nThere are various ways you can contribute:\n\n1. Raise an [Issue](https://github.com/michaeluno/wp-admin-buttons/issues) on GitHub.\n2. Send us a Pull Request with your bug fixes and/or new features.\n3. Provide feedback and suggestions on [enhancements](https://github.com/michaeluno/wp-admin-buttons/issues?direction=desc\u0026labels=Enhancement\u0026page=1\u0026sort=created\u0026state=open).\n\n## Supporting Future Development ##\n\nIf you like it, please rate and review it in the [WordPress Plugin Directory](http://wordpress.org/support/view/plugin-reviews/wp-admin-buttons?filter=5). Also donation would be greatly appreciated. Thank you!\n\n[![Donate with PayPal](https://www.paypal.com/en_US/i/btn/x-click-but04.gif)](http://en.michaeluno.jp/donate) \n\n## Copyright and License ##\n\n### WP Admin Buttons ###\nReleased under the [GPL v2](./LICENSE.txt) or later.\nCopyright © 2014 Michael Uno\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeluno%2Fwp-admin-buttons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeluno%2Fwp-admin-buttons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeluno%2Fwp-admin-buttons/lists"}