Title: Javascript CSS Accordion
Author: shortdark
Published: <strong>22 de desembre de 2019</strong>
Last modified: 3 de novembre de 2021

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Javascript CSS Accordion

 Per [shortdark](https://profiles.wordpress.org/shortdark/)

[Baixa](https://downloads.wordpress.org/plugin/javascript-css-accordion.zip)

 * [Detalls](https://ca.wordpress.org/plugins/javascript-css-accordion/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/javascript-css-accordion/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/javascript-css-accordion/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/javascript-css-accordion/#developers)

 [Suport](https://wordpress.org/support/plugin/javascript-css-accordion/)

## Descripció

Adds an accordion using plaing javascript and CSS, not jQuery.

Please let me know if you like this plugin by leaving a review or [contacting me](http://www.shortdark.net/contact-me/).

Go to the [Shortdark WordPress plugin page](http://www.shortdark.net/wordpress-plugin/)
for more information.

## Instal·lació

This section describes how to install the plugin and get it working.

 1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress
     plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.

To add an accordion element you insert the shortcode below into your post in the
place you’d like the accordion to be.

#### Method 1

[sdjca id=»» title=»»]The content to be revealed goes here!![/sdjca]

 * The id should be a number (an integer). If you have more than one accordion on
   a page, each accordion must have a unique id.
 * The title is the text you’d see when the accordion is closed, without any HTML.
 * The content is what you see when you open the accordion, this can include HTML
   tags. Do not use «p» tags, use «br» instead.

#### Method 2

You can also use unenclosed shortcodes like this…

[sdjca id=»» title=»» content=»» /]

 * The id should be a number (an integer). If you have more than one accordion on
   a page, each accordion must have a unique id.
 * The title is the text you’d see when the accordion is closed, without any HTML.
 * The content is what you see when you open the accordion, without any HTML.
 * The shortcode should have the trailing / at the end, especially if you are using
   more than one accordion in your post/page.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Javascript CSS Accordion» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ shortdark ](https://profiles.wordpress.org/shortdark/)

[Traduïu «Javascript CSS Accordion» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/javascript-css-accordion)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/javascript-css-accordion/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/javascript-css-accordion/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/javascript-css-accordion/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/javascript-css-accordion/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 0.0.06

 * Bugfix: tweak to the javascript.

#### 0.0.05

 * Bugfix: version number.

#### 0.0.04

 * Bugfix: only show enclosed content if the content attribute does not exist.
 * Update: update to the installation instructions.

#### 0.0.03

 * Bugfix to allow the first version of the plugin to continue working.

#### 0.0.02

 * Allowed content to be added using enclosed shortcodes.

#### 0.0.01

 * New plugin.

## Meta

 *  Versió **0.0.06**
 *  Darrera actualització **fa 5 anys**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 2.5 o posterior **
 *  Provada fins a **5.8.13**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/javascript-css-accordion/)
 * Etiquetes
 * [Accordion](https://ca.wordpress.org/plugins/tags/accordion/)[html](https://ca.wordpress.org/plugins/tags/html/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/javascript-css-accordion/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/javascript-css-accordion/reviews/)

## Col·laboradors

 *   [ shortdark ](https://profiles.wordpress.org/shortdark/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/javascript-css-accordion/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://www.shortdark.net/)