Skildring
Dette programtillegget vart stengt ned 31. desember 2022, og kan ikkje lastast ned. Programtillegget er stengt ned permanent. Grunn: Førespurnad frå opphavspersonen.
Omtalar
28. november 2019
1 reply
This works but it shows a blue border around the Accordion titles when clicked to open.
Odd.
5. august 2019
This is really nice and simple plugin! Thanks for a great job!
28. desember 2018
This little piece of script works, keeps on working, and hasn't failed yet, although you now do have to hand place the shortcodes since the changes started in prep for Gutenburg (the icons no longer show up on the visual editor menu). I've used it for years, all the way up to 5.0.2 .
30. oktober 2018
Hey mate, your plugin is so simple and so awesome that I really do hope you'll keep it around updated for us!
All the best!
14. april 2018
Just what I needed to make it easy to insert accordion elements anywhere in the pages, multiple times. Hope this gets an update to show as compatible with the latest version of WP (it works).
10. mars 2018
I needed a replacement for the [toggle] shortcode in the Canvas theme by WooThemes and this does the job perfectly. It doesn't have all the bells and whistles of [toggle], but I wasn't using those anyway.
Here is the css I used, based on the example johanneseva gave in his comment (Thanks!)
Mine creates a grey background for each accordion item.
.accordion-title {
background-image: url(./images/shortcode-toggle-open.png);
background-size: 20px 20px;
background-position: right center;
background-repeat: no-repeat;
padding-right: 26px; /* so that title does not overlap icon */
}
.accordion-title.open {
background-image: url(./images/shortcode-toggle-close.png);
}
.accordion h4.accordion-title {
border-right: 5px solid #e4e8ec; /* so that icon is some distance from right border */
background-color: #e4e8ec;
padding-top: 10px;
padding-left: 10px;
padding-bottom: 10px;
cursor: pointer;
}
.accordion-content {
border: 1px solid #ebebeb;
background: #f9f9f9;
padding: 10px 10px;
}
Bidragsytarar og utviklarar
“Accordion Shortcodes” is open source software. The following people have contributed to this plugin.
Contributors“Accordion Shortcodes” er omsett til 1 språk. Takk til omsetjarane for bidraga deira.
Omset “Accordion Shortcodes” til ditt eige språk.
Interested in development?
Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.