Aprašymas
A very simple plugin that creates five highly customisable shortcodes that can be used with any theme.
Documentation
-
Available Shortcodes
[spacer margin_top=”10px” margin_bottom=”10px”]
— margin_top,margin_bottom are not required[fullwidth_background background_color=”#efefef” or background_url=”{image_url}”]…[/fullwidth_background]
— Only for use with frontpage – full width[title_and_subtitle title=”title goes here” subtitle=”subtitle goes here”]
[content_block block_title=”” block_css_class=”” block_text=”” block_text_color = „#000000″ block_button_css=”” block_button_text=”” block_button_link=”” block_image=”” block_button_color=””]
— For general content blocks[blog_post post_id=”id” post_css_class=”” post_font_color=”#000000″ post_read_more=”read more text”]
— You can get the id of a post from dashboard
Diegimas
This section describes how to install the plugin and get it working.
- Upload the
ketchup-shortcodesfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Shortcodes are ready for you to use them!
Atsiliepimai
Įskiepis neturi atsiliepimų.
Programuotojai ir komandos nariai
“Ketchup Shortcodes” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiIšverskite “Ketchup Shortcodes” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.
Pakeitimų istorija
0.2.1
- Extra sanitization for shortcode tags attributes – FIXED/SECURITY
0.1.1
- Correct Documentation
- Added Shortcode Variables
0.1.0
- First release.
