WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

DKOATED CTA Buttons

Add beautiful and SEO-ready call to action buttons through shortcodes to your WordPress. No external resources, no javascript, no images!

How do I use the plugin?

Easy: Just add the following code to either a post or page: [DKB url="http://dkoated.com/" text="Main Button Text" desc="Sub-headline of button" title="Link SEO title" type="large|normal|small|extrasmall" color="black|white|grey|red|green|blue|orange|yellow|pink|brown" width="100" opennewwindow="yes|no" nofollow="yes|no"]. As you may see in the code, there are many options to choose from. Just remove the ones you don't want. All options you choose not to use, will default to their default settings.

But do I need to add that WHOLE thing?

No. Actually there are no required attribute fields for the shortcode. Theoretically, the minimum code you need to use is: [DKB], but that wouldn't make a lot of sense would it? I highly recommend to at least use the "url" and "text"-attributes: [DKB url="http://dkoated.com/" text="Your headline here"]. Everything else, such as the attribute fields "title", "type", "color", "width", "opennewwindow" and "nofollow" are optional and if unspecified, these attribute fields will default to their default setting.

What are the default settings?

  • "url" defaults to your WordPress homepage URL
  • "text" defaults to the "url" attribute
  • "desc" defaults to nothing, so a button without sub-headline will be rendered
  • "type" defaults to "normal"
  • "color" defaults to "black"
  • "opennewwindow" defaults to "no" (opens in the same browser window)
  • "nofollow" defaults to "no", meaning the link will be followed by search engines
  • "custom" defaults to "no", meaning no custom colors will be used to render the button

Can I use just some attribute fields?

Yes. If you want to let's say only specify the "width" and "nofollow" attributes, you would use this code: [DKB url="http://dkoated.com/" text="Your headline here" width="200" nofollow="yes"]. All other unspecified attributes will default to their default settings.

The buttons look all messed up! What's wrong?

If you are using a webkit-based browser such as Safari or Chrome and you have the plugin WP-Minify installed, you have to explicitly exclude the file 'dkoated-cta-buttons.css' from minification within the WP-Minify options. The css file itself is already optimized and would not benefit from a minification anyway (perhaps by only a few bytes).

What's up with the "size" attribute?

Specify the exact width of the button in pixels. Just add a number (without 'px') and watch the button grow (or get smaller). Be cautious though, the specified size will, no matter what, be set and displayed. If you specify a longer text to be displayed within the button through either "text" or "desc", the text will be cut off if the width of the button is smaller.

How can I specify my custom button color in the admin panel?

Easy. Add your hex-color including the '#'-sign in the admin panel and use the following shortcode [DKB url="http://dkoated.com/" text="Your headline here" <strong>custom="yes"</strong>]. Please note, that the use of the attribute "custom" always takes preference before the attribute "color".

I am having massive problems here. Please help!

Head over to DKOATED CTA Buttons WordPress Plugin Page and leave some feedback. I'll try to help out as much as I can, alright? ;)

Requires: 2.9.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-6-21
Downloads: 12,818

Ratings

4 stars
4.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,2,2 100,1,1 0,1,0 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2
0,1,0 100,1,1 100,2,2 100,3,3
100,1,1
100,1,1
100,1,1
100,1,1