About this plugin
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.
zip”]
>
-
label – the text label shown in the button.
zip”]
>
-
size – the button size. This argument accepts either large, medium, small.
zip”]
>
-
type – the button type. This argument accepts either button-primary, or buton-secondary.
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.
zip”]
‘#ccc’,
‘background_color’ => ‘transparent’,
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.
zip”]
‘button-secondary’,
’,
‘class’ => ‘my-custom-class-selector’,
‘style’ => ‘text-align:center’,
‘target’ => ‘_blank’,
zip’,
)
);
>