Title: TW Shortcodes
Author: lvraa
Published: <strong>Oktubre 22, 2016</strong>
Last modified: Oktubre 23, 2016

---

Maghanap ng mga plugin

Ang plugin na ito ay **hindi pa nasusubukan sa pinakabagong 3 major release ng WordPress**.
Maaaring hindi na ito minamantine o sinusuportahan at maaaring may mga isyu sa compatibility
kapag ginamit sa mas bagong bersyon ng WordPress.

![](https://s.w.org/plugins/geopattern-icon/tw-shortcodes.svg)

# TW Shortcodes

 Ni [lvraa](https://profiles.wordpress.org/lvraa/)

[I-download](https://downloads.wordpress.org/plugin/tw-shortcodes.zip)

 * [Mga Detalye](https://tl.wordpress.org/plugins/tw-shortcodes/#description)
 * [Mga Review](https://tl.wordpress.org/plugins/tw-shortcodes/#reviews)
 *  [Pag-install](https://tl.wordpress.org/plugins/tw-shortcodes/#installation)
 * [Development](https://tl.wordpress.org/plugins/tw-shortcodes/#developers)

 [Suporta](https://wordpress.org/support/plugin/tw-shortcodes/)

## Deskripsyon

Building complex page layouts with buttons, icons and pricing tables typically requires
lots of experience with html, css, php and the WordPress template hierarchy. Use
this plugin to whip up fancy looking page designs in no time flat.
 This plugin 
is based on GPP Shortcodes from Graph Paper Press: https://graphpaperpress.com/plugins/
gpp-shortcodes/.

There are 11 shortcodes packaged into this plugin:

 * Flat Buttons
 * Icons courtesy of Genericons
 * Icon Buttons
 * Highlights
 * Dividers
 * Accordions
 * Toggles
 * Tabs
 * Google Maps
 * Pricing Tables
 * Grids

See live examples, a full list of the options and usage instructions here:

http://tripwiremagazine.com/wp/plugins/tw-shortcodes/

## Pag-install

 1. Upload the whole `tw-shortcodes` directory to the `/wp-content/plugins/` directory
 2. Activate the ‘GPP Shortcodes’ plugin through the ‘Plugins’ menu in WordPress
 3. Add shortcodes to Posts and Pages using the instructions found on this page:

http://tripwiremagazine.com/wp/plugins/tw-shortcodes/

## FAQ

Below are a list of all the shortcodes and how to use them.

  BOXES

Usage: `[tw_box]Alert Box Text[/tw_box]`

Attributes: color, width, text_align, margin_bottom, margin_top, class

Available colors: grey, yellow, green, red, blue, purple, black

Attributes usage: `[tw_box color="green" width="50%" text_align="left" margin_bottom
="50px" margin_top="50px"]Alert Box Text[/tw_box]`

  ICONS

Usage: `[tw_icon type="image"]`

Attributes: type

Availabe types: standard, aside, image, gallery, video, status, quote, link, chat,
audio, github, dribble, twitter, facebook, facebook-alt, wordpress, googleplus, 
linkedin, linkedin-alt, pinterest, pinterest-alt, flickr, vimeo, youtube, tumblr,
instagram, codepen, polldaddy, comment, category, tag, time, user, day, week, month,
pinned, search, unzoom, zoom, show, hide, close, close-alt, trash, star, home, mail,
edit, reply, feed, warning, share, attachment, location, checkmark, menu, top, minimize,
maximize, 404, spam, summary, cloud, key, dot, next, previous, expand, collapse,
dropdown, dropdown-left, top, draggable, phone, send-to-phone, plugin, cloud-download,
cloud-upload, external, document, book, cog, unapprove, cart, pause, stop, skip-
back, skip-ahead, play, tablet, send-to-tablet, info, notice, help, fastforward,
rewind, portfolio, uparrow, rightarrow, downarrow, leftarrow

  BUTTONS

Usage: `[tw_button]Button Text[/tw_button]`

Attributes: color, url, title, target, rel, class, icon_left, icon_right, size, 
display

Available colors: grey, yellow, green, red, blue, purple, black

Available sizes: small, medium, large

Available displays: inline, block

Available icon_left and icon_right: standard, aside, image, gallery, video, status,
quote, link, chat, audio, github, dribble, twitter, facebook, facebook-alt, wordpress,
googleplus, linkedin, linkedin-alt, pinterest, pinterest-alt, flickr, vimeo, youtube,
tumblr, instagram, codepen, polldaddy, comment, category, tag, time, user, day, 
week, month, pinned, search, unzoom, zoom, show, hide, close, close-alt, trash, 
star, home, mail, edit, reply, feed, warning, share, attachment, location, checkmark,
menu, top, minimize, maximize, 404, spam, summary, cloud, key, dot, next, previous,
expand, collapse, dropdown, dropdown-left, top, draggable, phone, send-to-phone,
plugin, cloud-download, cloud-upload, external, document, book, cog, unapprove, 
cart, pause, stop, skip-back, skip-ahead, play, tablet, send-to-tablet, info, notice,
help, fastforward, rewind, portfolio, uparrow, rightarrow, downarrow, leftarrow

Attributes usage: `[tw_button color="blue" url="http://www.tripwiremagazine.com"
title="themes" icon_left="twitter" target="_blank" size="large" display="block"]
Button Text[/tw_button]`

  TEXT HIGHLIGHT

Usage: `[tw_highlight]text to highlight[/tw_highlight]`

Attributes: color

Available colors: grey, yellow, green, red, blue, purple, black

Attributes usage: [tw_highlight color=”green”]text to highlight[/tw_highlight]

  DIVIDERS

Usage: `[tw_divider]`

Attributes: type, color

Available types: solid, dashed, dotted, double

Available colors: grey, yellow, green, red, blue, purple, black

Attributes Usage: `[tw_divider type="dashed" color="green"]`

  ACCORDIONS

Usage: `[tw_accordion][tw_accordion_section title="Section #1"]Section 1 text[/tw_accordion_section][
tw_accordion_section title="Section #2"]Section 2 text[/tw_accordion_section][tw_accordion_section
title="Section #3"]Section 3 text[/tw_accordion_section][/tw_accordion]`

Attributes: title, class

Attributes usage: `[tw_accordion][tw_accordion_section title="Section #1"]Section
1 text[/tw_accordion_section][tw_accordion_section title="Section #2"]Section 2 
text[/tw_accordion_section][tw_accordion_section title="Section #3"]Section 3 text[/
tw_accordion_section][/tw_accordion]`

  TOGGLES

Usage: `[tw_toggle title="Toggle Title"]Toggle text[/tw_toggle]`

Attributes: title, class

  TABS

Usage: `[tw_tabgroup][tw_tab title="Tab #1"]Tab 1 text [/tw_tab][tw_tab title="Tab#
2"]Tab 2 text[/tw_tab][/tw_tabgroup]`

Attributes: title, class

  GOOGLE MAPS

Usage: `[tw_googlemap location="new york,usa"]`

Attributes: location, height, title, zoom, class

Attributes Usage: `[tw_googlemap location="new york,usa" zoom="5" title="New York"
height="500px"]`

  PRICING TABLE

Usage:
 [tw_pricing plan=”Premium” cost=”$200″ per=”per month” button_url=”http://
www.tripwiremagazine.com” button_text=”Sign Up” button_color=”green” button_target
=”self” button_rel=”nofollow”] plan feature plan feature plan feature plan feature[/
tw_pricing]

Attributes: plan, cost, per, button_url, button_text, button_color, button_target,
button_rel, position, class

Here is an example pricing table with three columns:

    ```
    [one_third_first][tw_pricing plan="Gold" cost="$99" per="per month" button_url="http://www.tripwiremagazine.com" button_text="Sign Up" button_color="green" button_target="self" button_rel="nofollow"]
    plan feature
    plan feature
    plan feature
    plan feature
    [/tw_pricing][/one_third_first][one_third][tw_pricing plan="Silver" cost="$69" per="per month" button_url="http://www.tripwiremagazine.com" button_text="Sign Up" button_color="green" button_target="self" button_rel="nofollow"]
    plan feature
    plan feature
    plan feature
    plan feature
    [/tw_pricing][/one_third][one_third_last][tw_pricing plan="Bronze" cost="$39" per="per month" button_url="http://www.tripwiremagazine.com" button_text="Sign Up" button_color="green" button_target="self" button_rel="nofollow"]
    plan feature
    plan feature
    plan feature
    plan feature
    [/tw_pricing][/one_third_last]
    ```

  GRIDS

You can use the following shortcodes `[one_sixth]`, `[one_fourth]`, `[one_third]`,`[
one_half]` in any combination as long as they total 1 in then end. The start of 
each column begins with a shortcode that ends in `_first`, like this: `[one_sixth_first]`.
Each row ends with a shortcode that ends in `_last`, like this: `[/one_third_last]`.

You can combine grid with many of the shortcodes above to create complex page layouts.
One important point to remember is this: When you are adding your grid shortcodes
in the WordPress editor, WordPress will transform all RETURNS as linebreaks and 
add a `<br />` tag. This can cause your grids to display in a stair step layout,
which isn’t good. To fix this, do not RETURN when adding your grid shortcodes to
the WordPress editor.

For example, this is correct:

    ```
    [one_half_first]
    This is the first column
    [/one_half_first][one_half_last]
    This is the first column
    [one_half_last]
    ```

This is incorrect:

    ```
    [one_half_first]
    This is the first column
    [/one_half_first]
    [one_half_last]
    This is the first column
    [one_half_last]
    ```

Notice that there is a RETURN after the [/one_half_first]? This will cause layout
problems (the stair step effect, which we don’t want). Simply make sure that your
ending and beginning grid shortcodes but directly up against each other, like this:

    ```
    [/one_half_first][one_half_last]
    ```

Now, onto the full grid shortcodes. Below are some usage examples:

Six Columns

    ```
        [one_sixth_first]This is the first column[/one_sixth_first]
            [one_sixth]This is the second column[/one_sixth]
            [one_sixth]This is the third column[/one_sixth]
            [one_sixth]This is the fourth column[/one_sixth]
            [one_sixth]This is the fifth column[/one_sixth]
            [one_sixth_last]This is the sixth and last column[/one_sixth_last]
    ```

Four Columns

    ```
       [one_fourth_first]This is the first column[/one_fourth_first]
           [one_fourth]This is the second column[/one_fourth]
           [one_fourth]This is the third column[/one_fourth]
           [one_fourth_last]This is the fourth and last column[/one_fourth_last]
    ```

Three Columns

    ```
        [one_third_first]This is the first column[/one_third_first]
            [one_third]This is the second column[/one_third]
            [one_third_last]This is the third and last column[/one_third_last]
    ```

Two Columns

    ```
        [one_half_first]This is the first column[/one_half_first]
            [one_half_last]This is the second and last column[/one_half_last]
    ```

One-Sixth & Five-Sixth Columns

    ```
        [one_sixth_first]This is the first column[/one_sixth_first]
            [five_sixth_last]This is the second and last column[/five_sixth_last]
    ```

One-Third & Two-Third Columns

    ```
        [one_third_first]This is the first column[/one_third_first]
            [two_thirds_last]This is the second and last column[/two_thirds_last]
    ```

## Mga Review

Wala pang reviews para sa plugin na ito.

## Mga Contributor at Developer

Ang “TW Shortcodes” ay open source software. Ang mga sumusunod na tao ay nag-ambag
sa plugin na ito.

Mga Contributor

 *   [ lvraa ](https://profiles.wordpress.org/lvraa/)
 *   [ Thad Allender ](https://profiles.wordpress.org/endortrails/)
 *   [ Sanam Maharjan ](https://profiles.wordpress.org/kcssm/)
 *   [ GPP ](https://profiles.wordpress.org/gpp/)

[Isalin ang “TW Shortcodes” sa iyong wika.](https://translate.wordpress.org/projects/wp-plugins/tw-shortcodes)

### Interesado sa development?

[Tingnan ang code](https://plugins.trac.wordpress.org/browser/tw-shortcodes/), i-
check ang [SVN repository](https://plugins.svn.wordpress.org/tw-shortcodes/), o 
mag-subscribe sa [development log](https://plugins.trac.wordpress.org/log/tw-shortcodes/)
sa pamamagitan ng [RSS](https://plugins.trac.wordpress.org/log/tw-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release

## Meta

 *  Bersyon **1.1**
 *  Huling na-update **10 taon ang nakalipas**
 *  Mga aktibong installation **10+**
 *  Bersyon ng WordPress ** 3.6 o mas bago **
 *  Sinubukan hanggang **4.6.30**
 *  Wika
 * [English (US)](https://wordpress.org/plugins/tw-shortcodes/)
 * Mga Tag
 * [buttons](https://tl.wordpress.org/plugins/tags/buttons/)[grid](https://tl.wordpress.org/plugins/tags/grid/)
   [icons](https://tl.wordpress.org/plugins/tags/icons/)[shortcode](https://tl.wordpress.org/plugins/tags/shortcode/)
   [shortcodes](https://tl.wordpress.org/plugins/tags/shortcodes/)
 *  [Advanced View](https://tl.wordpress.org/plugins/tw-shortcodes/advanced/)

## Mga Rating

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/tw-shortcodes/reviews/#new-post)

[Tingnan lahat ng review](https://wordpress.org/support/plugin/tw-shortcodes/reviews/)

## Mga Contributor

 *   [ lvraa ](https://profiles.wordpress.org/lvraa/)
 *   [ Thad Allender ](https://profiles.wordpress.org/endortrails/)
 *   [ Sanam Maharjan ](https://profiles.wordpress.org/kcssm/)
 *   [ GPP ](https://profiles.wordpress.org/gpp/)

## Suporta

May gusto kang sabihin? Kailangan ng tulong?

 [Tingnan ang support forum](https://wordpress.org/support/plugin/tw-shortcodes/)

## Mag-donate

Gusto mo bang suportahan ang pagpapaunlad ng plugin na ito?

 [ Mag-donate sa plugin na ito ](http://www.tripwiremagazine.com/)