Title: Accordion Shortcode
Author: ctltwp
Published: <strong>Marto 20, 2012</strong>
Last modified: Septembro 19, 2012

---

Priserĉi kromprogramojn

Tiu ĉi kromprogramo **ne estis testita en la 3 lastaj gravaj eldonoj de WordPress**.
Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj 
versioj de WordPress.

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

# Accordion Shortcode

 De [ctltwp](https://profiles.wordpress.org/ctltwp/)

[Elŝuti](https://downloads.wordpress.org/plugin/accordion-shortcode.1.2.1.zip)

 * [Detaloj](https://eo.wordpress.org/plugins/accordion-shortcode/#description)
 * [Pritaksoj](https://eo.wordpress.org/plugins/accordion-shortcode/#reviews)
 *  [Instalo](https://eo.wordpress.org/plugins/accordion-shortcode/#installation)
 * [Programado](https://eo.wordpress.org/plugins/accordion-shortcode/#developers)

 [Helpo](https://wordpress.org/support/plugin/accordion-shortcode/)

## Priskribo

To make the accordions appear the way you want you need to add your own styling 
to them
 Lets you add accordion to your post and pages.

By using the following shortcodes

    ```
    [accordions]
    [accordion title="title1"] tab content [/accordion]
    [accordion title="title2"] another content tab [/accordion]
    [/accordions]
    ```

will generate the following html.

    ```
    <div id="random-accordion-id-872" class="accordions-shortcode">
                <h3 id="title1-0" ><a href="#title1-0">title1</a></h3>

                <div class="accordian-shortcode-content" >


     Some Text<br />
                </div>

                <h3 id="title2-1" ><a href="#title2-1">title2</a></h3>

                <div class="accordian-shortcode-content " >


     Some Text<br />
                </div>

    </div>
    ```

Additional attributes that you could pass into the shortcode
 [accordions autoHeight
=’true’ disabled=’false’ active=0 clearStyle=false collapsible=false fillSpace=false][
accordion title=’title1′ class=’new-class’] Some Text [/accordion] [accordion title
=’title2′ class=’new-class’] Some Text [/accordion] [/accordions]

### Sample CSS

Here is some sample css to get you started.
 Another place to look for it would 
be the http://jqueryui.com/themeroller/, The shortcode used the jQuery UI to generate
the accordion.

    ```
    .ui-accordion-header{
        margin:5px 0 0;
    }
    .ui-accordion-header a{
        padding:5px 12px;
        background: #CCC; 
        color:#FFF;
        display:block;
    }
    .ui-accordion-header.ui-state-active a,
    .ui-accordion-header a:hover{
        background-color: #DDD;
    }
    .ui-accordion-content{
        padding-top:10px;
    }
    ```

## Instalo

 1. Extract the zip file into wp-content/plugins/ in your WordPress installation
 2. Go to plugins page to activate
 3. Add styles to make the accordion look the way you want.

## Pritaksoj

There are no reviews for this plugin.

## Kontribuantoj k. programistoj

“Accordion Shortcode” estas liberkoda programo. La sekvaj homoj kontribuis al la
kromprogramo.

Kontribuantoj

 *   [ ctltwp ](https://profiles.wordpress.org/ctltwp/)
 *   [ Enej Bajgorić ](https://profiles.wordpress.org/enej/)
 *   [ ctlt-dev ](https://profiles.wordpress.org/ctlt-dev/)
 *   [ ubcdev ](https://profiles.wordpress.org/ubcdev/)

[Traduki “Accordion Shortcode” en vian lingvon.](https://translate.wordpress.org/projects/wp-plugins/accordion-shortcode)

### Ĉu interesita en programado?

[Browse the code](https://plugins.trac.wordpress.org/browser/accordion-shortcode/),
check out the [SVN repository](https://plugins.svn.wordpress.org/accordion-shortcode/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/accordion-shortcode/)
by [RSS](https://plugins.trac.wordpress.org/log/accordion-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Ŝanĝprotokolo

#### 1.2.1

 * removed php warnings

#### 1.2

Trying to commit the changes from git

#### 1.1

 * improved js loading. js only gets loaded when it is needed
 * fixed bugs

#### 1.0

 * Initial release

## Metadatumoj

 *  Version **1.2.1**
 *  Last updated **antaŭ 14 jaroj**
 *  Active installations **500+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/accordion-shortcode/)
 * Tags
 * [Accordion](https://eo.wordpress.org/plugins/tags/accordion/)[shortcode](https://eo.wordpress.org/plugins/tags/shortcode/)
 *  [Altnivela rigardo](https://eo.wordpress.org/plugins/accordion-shortcode/advanced/)

## Pritaksoj

 4.8 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/accordion-shortcode/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/accordion-shortcode/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/accordion-shortcode/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/accordion-shortcode/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/accordion-shortcode/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/accordion-shortcode/reviews/)

## Kontribuantoj

 *   [ ctltwp ](https://profiles.wordpress.org/ctltwp/)
 *   [ Enej Bajgorić ](https://profiles.wordpress.org/enej/)
 *   [ ctlt-dev ](https://profiles.wordpress.org/ctlt-dev/)
 *   [ ubcdev ](https://profiles.wordpress.org/ubcdev/)

## Helpo

Got something to say? Need help?

 [Vidi helpforumon](https://wordpress.org/support/plugin/accordion-shortcode/)