Title: Accordion Shortcode
Author: ctltwp
Published: <strong>20. März 2012</strong>
Last modified: 19. September 2012

---

Plugins suchen

Dieses Plugin wurde **nicht mit den 3 neuesten Hauptversionen von WordPress getestet**.
Es wird möglicherweise nicht mehr gepflegt oder unterstützt und kann bei der Verwendung
mit neueren WordPress-Versionen zu Kompatibilitätsproblemen führen.

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

# Accordion Shortcode

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

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

 * [Details](https://de.wordpress.org/plugins/accordion-shortcode/#description)
 * [Rezensionen](https://de.wordpress.org/plugins/accordion-shortcode/#reviews)
 *  [Installation](https://de.wordpress.org/plugins/accordion-shortcode/#installation)
 * [Entwicklung](https://de.wordpress.org/plugins/accordion-shortcode/#developers)

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

## Beschreibung

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

## Installation

 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.

## Rezensionen

Für dieses Plugin gibt es keine Rezensionen.

## Mitwirkende und Entwickler

„Accordion Shortcode“ ist Open-Source-Software. Folgende Menschen haben an diesem
Plugin mitgewirkt:

Mitwirkende

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

[Übersetze „Accordion Shortcode“ in deine Sprache.](https://translate.wordpress.org/projects/wp-plugins/accordion-shortcode)

### Interessiert an der Entwicklung?

[Durchstöbere den Code](https://plugins.trac.wordpress.org/browser/accordion-shortcode/),
sieh dir das [SVN-Repository](https://plugins.svn.wordpress.org/accordion-shortcode/)
an oder abonniere das [Entwicklungsprotokoll](https://plugins.trac.wordpress.org/log/accordion-shortcode/)
per [RSS](https://plugins.trac.wordpress.org/log/accordion-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Änderungsprotokoll

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

 *  Version **1.2.1**
 *  Zuletzt aktualisiert **vor 14 Jahren**
 *  Aktive Installationen **500+**
 *  WordPress-Version ** 3.3 oder höher **
 *  Getestet bis **3.3.2**
 *  Sprache
 * [English (US)](https://wordpress.org/plugins/accordion-shortcode/)
 * Schlagwörter
 * [Accordion](https://de.wordpress.org/plugins/tags/accordion/)[shortcode](https://de.wordpress.org/plugins/tags/shortcode/)
 *  [Erweiterte Ansicht](https://de.wordpress.org/plugins/accordion-shortcode/advanced/)

## Bewertungen

 4.8 von 5 Sternen.

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

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

[Alle Rezensionen anzeigen](https://wordpress.org/support/plugin/accordion-shortcode/reviews/)

## Mitwirkende

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

## Support

Möchtest du etwas mitteilen? Brauchst du Unterstützung?

 [Support-Forum anzeigen](https://wordpress.org/support/plugin/accordion-shortcode/)