Title: Accordion Shortcode
Author: ctltwp
Published: <strong>20 de marzo de 2012</strong>
Last modified: 19 de septiembre de 2012

---

Buscar plugins

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

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

# Accordion Shortcode

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

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

 * [Detalles](https://es.wordpress.org/plugins/accordion-shortcode/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/accordion-shortcode/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/accordion-shortcode/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/accordion-shortcode/#developers)

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

## Descripción

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;
    }
    ```

## Instalación

 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.

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«Accordion Shortcode» es un software de código abierto. Las siguientes personas 
han colaborado con este plugin.

Colaboradores

 *   [ 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/)

[Traduce «Accordion Shortcode» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/accordion-shortcode)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/accordion-shortcode/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/accordion-shortcode/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/accordion-shortcode/)
por [RSS](https://plugins.trac.wordpress.org/log/accordion-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 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

## Meta

 *  Versión **1.2.1**
 *  Última actualización **hace 14 años**
 *  Instalaciones activas **400+**
 *  Versión de WordPress ** 3.3 o superior **
 *  Probado hasta **3.3.2**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/accordion-shortcode/)
 * Etiquetas:
 * [Accordion](https://es.wordpress.org/plugins/tags/accordion/)[shortcode](https://es.wordpress.org/plugins/tags/shortcode/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/accordion-shortcode/advanced/)

## Valoraciones

 4.8 de 5 estrellas.

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

[Tu valoración](https://wordpress.org/support/plugin/accordion-shortcode/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/accordion-shortcode/reviews/)

## Colaboradores

 *   [ 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/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/accordion-shortcode/)