Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LBDesign Button Shortcode
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plugins
LBDesign Button Shortcode
Commits
2b8228b2
Commit
2b8228b2
authored
9 years ago
by
Lauren
Browse files
Options
Downloads
Patches
Plain Diff
Edits to readme file
parent
2525e838
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
readme.txt
+52
-35
52 additions, 35 deletions
readme.txt
with
52 additions
and
35 deletions
readme.txt
+
52
−
35
View file @
2b8228b2
how to use:
[button link="http://something.com" color="red" size="big"]Call to Action![/button]
How to style (can also be found in LBD Client Theme):
/* DEFAULT button shortcode styles */
a.button {
background: $color_buttons; /* Old browsers */
color: #fff !important;
text-decoration: none;
font-weight: bold;
padding: 15px 20px;
display: inline-block;
text-transform: uppercase;
margin-bottom: 20px;
border: 0;
}
a.button:hover,
a.button:focus {
background: $color_buttons_hover; /* Old browsers */
}
/* COLOR button styles */
a.button.orange {
background: $color_buttons_alt; /* Old browsers */
}
a.button.orange:hover,
a.button.orange:focus {
background: $color_buttons_alt_hover;
}
/* SIZE button styles */
a.button.big {
padding: 25px 20px;
font-size: 1.2em;
}
\ No newline at end of file
=== LBDesign Button Shortcode ===
Contributors: lepittenger
Tags: shortcode
Requires at least: 3.0.1
Tested up to: 4.0.1
Stable tag: 4.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A simple plugin for adding call-to-action buttons to post & page content via a shortcode.
== Description ==
This simple plugin allows you to add call-to-action buttons to post and page content via a shortcode.
There are five styles included:
* Default
* Primary
* Action
* Info
* Warning
There are three sizes:
* Default (medium)
* Small
* Large
== Installation ==
This section describes how to install the plugin and get it working.
e.g.
1. Upload `lbdesign-button-shortcode` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Add buttons to post and page content using the insert button on the WordPress editor
== Frequently Asked Questions ==
None yet.
== Screenshots ==
1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
(or jpg, jpeg, gif).
2. This is the second screen shot
== Changelog ==
== Upgrade Notice ==
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment