Title: WP Admin Buttons
Author: miunosoft
Published: <strong>30 januari 2015</strong>
Last modified: 1 februari 2015

---

Sök tillägg

![](https://ps.w.org/wp-admin-buttons/assets/banner-772x250.png?rev=1079324)

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://ps.w.org/wp-admin-buttons/assets/icon-256x256.png?rev=1079307)

# WP Admin Buttons

 Av [miunosoft](https://profiles.wordpress.org/miunosoft/)

[Ladda ner](https://downloads.wordpress.org/plugin/wp-admin-buttons.1.0.2.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/wp-admin-buttons/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/wp-admin-buttons/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/wp-admin-buttons/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/wp-admin-buttons/#developers)

 [Support](https://wordpress.org/support/plugin/wp-admin-buttons/)

## Beskrivning

#### Features

 * **Widget**
 * **Shortcode** – for the parameters see the Other Notes section.
 * **Custom Colors** – set your favorite colors.

#### Shortcode and Function Parameters

The following parameters can be used for the shortcode or the PHP function of the
plugin, `printWPAdminButton()`

 * **href** – the link url.
 * [wp_admin_button href=”http://my-download-url/file.zip”]
 *  ’http://my-download-url/file.zip’) ); ?>
 * **label** – the text label shown in the button.
 * [wp_admin_button label=”Get” href=”http://my-download-url/file.zip”]
 *  ’Get’, ’href’ => ’http://my-download-url/file.zip’ ) ); ?>
 * **size** – the button size. This argument accepts either `large`, `medium`, `
   small`.
 * [wp_admin_button size=”large” href=”http://my-download-url/file.zip”]
 *  ’large’, ’href’ => ’http://my-download-url/file.zip’ ) ); ?>
 * **type** – the button type. This argument accepts either `button-primary`, or`
   buton-secondary`.
 * [wp_admin_button type=”button-secondary” href=”http://my-download-url/file.zip”]
 *  ’button-secondary’, ’href’ => ’http://my-download-url/file.zip’ ) ); ?>

The follwoing color arguments can override the defult colors.

 * **label_color** – the label text color.
 * **background_color** – the button background color.
 * **border_color** – the button border color.
 * [wp_admin_button label_color=”#ccc” background_color=”transparent” href=”http://
   my-download-url/file.zip”]
 *  ’#ccc’,
    ’background_color’ => ’transparent’, ’href’ => ’http://my-download-
   url/file.zip’, ) ); ?>

The following additional HTML tag attributes can be set.

 * **title** – the `title` attribute.
 * **class** – the `class` attribute.
 * **style** – the `inline` style attribute.
 * **target** – the `target` attribute.
 * **rel** – the `rel` attribute.
 * [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”]
 *  ’button-secondary’,
    ’title’ => ’Get the file now!’, ’class’ => ’my-custom-class-
   selector’, ’style’ => ’text-align:center’, ’target’ => ’_blank’, ’href’ => ’http://
   my-download-url/file.zip’, ) ); ?>

## Skärmdumpar

 * [[
 * **_Widget Form_**
 * [[
 * **_Front-end_**

## Installation

#### Install

 1. Upload **`wp-admin-buttons.php`** and other files compressed in the zip folder 
    to the **`/wp-content/plugins/`** directory.,
 2. Activate the plugin through the ’Plugins’ menu in WordPress.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”WP Admin Buttons” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ miunosoft ](https://profiles.wordpress.org/miunosoft/)
 *   [ Michael Uno ](https://profiles.wordpress.org/michael-uno/)

[Översätt ”WP Admin Buttons” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/wp-admin-buttons)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/wp-admin-buttons/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/wp-admin-buttons/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/wp-admin-buttons/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-admin-buttons/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0.2 – 2015/02/01

 * Fixed field title labels of the widget form.

#### 1.0.1 – 2015/01/31

 * Fixed a misspelled function name.

#### 1.0.0 – 2015/01/31

 * Chagned the version for release.

#### 0.0.6

 * Fixed a compatibility issue with third-party plugins.

#### 0.0.5

 * Added the ability to restore the previous color when the mouse cursor goes out
   the button.

#### 0.0.4

 * Added custom mouse hover color fields.

#### 0.0.3

 * Added a description field in the widget form.

#### 0.0.2

 * Fixed some small bugs.

#### 0.0.1 – 2015/01/27

 * Released beta.

## Meta

 *  Version **1.0.2**
 *  Senast uppdaterat **11 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.3 eller senare **
 *  Testat upp till **4.1.0**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/wp-admin-buttons/)
 * Etiketter
 * [admin ui](https://sv.wordpress.org/plugins/tags/admin-ui/)[button](https://sv.wordpress.org/plugins/tags/button/)
   [buttons](https://sv.wordpress.org/plugins/tags/buttons/)[shortcode](https://sv.wordpress.org/plugins/tags/shortcode/)
   [widget](https://sv.wordpress.org/plugins/tags/widget/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/wp-admin-buttons/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/wp-admin-buttons/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/wp-admin-buttons/reviews/)

## Bidragande personer

 *   [ miunosoft ](https://profiles.wordpress.org/miunosoft/)
 *   [ Michael Uno ](https://profiles.wordpress.org/michael-uno/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/wp-admin-buttons/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://en.michaeluno.jp/donate)