Accordion Shortcodes

Version: 2.4.2

Version : 2.4.2

Current Version

Shortcodes for creating responsive accordion drop-downs.

Overall Rating
WordPress Rating

Accordion Shortcodes is a simple plugin that adds a few shortcodes for adding accordion drop-downs to your pages. The accordions should blend seamlessly with your theme. However, you may want to edit your theme’s main stylesheet in order to add some custom styling (see below for sample CSS). Features Adds two shortcodes for adding accordions to your site Supports multiple accordions with individual settings on a single page Two buttons in the TinyMCE editor make it easy to add and configure the accordion shortcodes Responsive No default CSS added Only adds JavaScript on pages that use the shortcodes Support for item IDs and direct links Accessible (for users requiring tabbed keyboard navigation control) Optional Features Open the first accordion item by default Open all accordion items by default Disable auto closing of accordion items Manually close items by clicking the title again Scroll page to title when it’s clicked open Set the HTML tag for the title element Change the semantic structure of your accordions (advanced) The Shortcodes The two shortcodes that are added are: [accordion]...[/accordion] and [accordion-item title=""]...[/accordion-item] Basic Usage Example [accordion] [accordion-item title="Title of accordion item"]Drop-down content goes here.[/accordion-item] [accordion-item title="Second accordion item"]Drop-down content goes here.[/accordion-item] [/accordion] This will output the following HTML: <div class="accordion"> <h3 class="accordion-title">Title of accordion item</h3> <div class="accordion-content"> Drop-down content goes here. </div> <h3...

The plugin ran into some errors

Sorry, pal! The plugin couldn’t pass all our tests. No hard feelings, right?

Tests done by WP Hive test script Results
  • Minimal impact on memory usage Learn more how we collect the data
    Download Iocn
  • Minimal impact on pagespeed Learn more how we collect the data
    Download Iocn
  • No PHP errors, warning, notices Learn more how we collect the data
    Download Iocn
  • No Javascript issues Learn more how we collect the data
    Download Iocn
  • Latest PHP 7.2.16 compatible Learn more how we collect the data
    Download Iocn
  • Latest WordPress 5.3 compatible Learn more how we collect the data
    Download Iocn
  • Optimized database footprint Learn more how we collect the data
    Download Iocn
  • No activation errors Learn more how we collect the data
    Download Iocn
  • No resource errors Learn more how we collect the data
    Download Iocn
  • Frequently updated Learn more how we collect the data
    Download Iocn

All the plugins are tested on the same server with exactly same configuration via test script that automatically activates and logs the data WP Hive shows.

  • All the scripts run on a VPS with 8 CPU cores and 8 GB of RAM.
  • The test sites are hosted on Google Cloud VM instances, one site/plugin per instance. The machine type is n1-standard-1. The server is a 8 core CPU with 8GB of RAM.
  • The test sites are hosted on Apache/2 server and they are tested on PHP 7.2.16 & WordPress 5.3.
  • The database server is MySQL 8.0.15 and the default PHP memory limit is 256MB.
Download Iocn

215K

Total Downloads

Installation Iocn

10K

Active Installation

Calendar Iocn

8 years

On WordPress

Growth Iocn

0.0%

Growth Rate

Support Iocn

0

Support Thread

Rating Iocn

68

Ratings on WordPress

Download Iocn

00

Downloads This Week

Update Iocn

00

Ago Last Updated

About Accordion Shortcodes

Description

Accordion Shortcodes is a simple plugin that adds a few shortcodes for adding accordion drop-downs to your pages. The accordions should blend seamlessly with your theme. However, you may want to edit your theme’s main stylesheet in order to add some custom styling (see below for sample CSS). Features Adds two shortcodes for adding accordions to your site Supports multiple....

Filtering Shortcodes

You can filter the settings and content of the shortcodes by adding some simply code to the functions.php file of your theme.

For example, you could set the openfirst option for all accordions across the entire site using:

add_filter('shortcode_atts_accordion', 'set_accordion_shortcode_defaults', 10, 3);
function set_accordion_shortcode_defaults($atts) {
    // Override the openfirst setting here
    $atts['openfirst'] = true;
    return $atts;
}

Compatibility Mode

If you have a theme that already includes the shortcodes [accordion] or [accordion-item] you can enable compatibility mode.

To enable compatibility mode add define('AS_COMPATIBILITY', true); to your wp-config.php file. This will add a prefix of ‘as-‘ to the two accordion shortcodes.

With compatibility mode enabled, make sure your shortcodes start with as- like this: [as-accordion]...[/as-accordion] and [as-accordion-item]...[/as-accordion-item].

Disable TinyMCE Buttons

You can optionally disable the TinyMCE extension which will remove the buttons from the editor button bar. To disable the TinyMCE extension add define('AS_TINYMCE', false); to your wp-config.php file.

Issues/Suggestions

For bug reports or feature requests or if you’d like to contribute to the plugin you can check everything out on Github.

Read More >>

Performance

Memory Usage

  • Download Iocn Average memory usage is -0.66 KB
  • Download Iocn This is less than 99% plugins

Page Speed

  • Download Iocn Average page loading time is
    increased by 0.01 s
  • Download Iocn This is faster than 99% plugins

Speed Test Benchmark

  • Before plugin activation
  • After plugin activation

Pages

Benchmark

Change

Average Change
- 0.01s
/(front page)
- 0.05s
/wp-admin/edit-comments.php
+ 0.02s
/wp-admin/edit-tags.php?taxonomy=category
- 0.05s
/wp-admin/edit.php
+ 0.07s
/wp-admin/index.php
- 0.07s
/wp-admin/media-new.php
+ 0.03s
/wp-admin/options-discussion.php
+ 0.01s
/wp-admin/options-writing.php
- 0.01s
/wp-admin/post-new.php
- 0.08s
/wp-admin/post-new.php?post_type=page
+ 0.1s
/wp-admin/upload.php
- 0.08s

Memory Usage Memory Usage Benchmark

  • Before plugin activation
  • After plugin activation

Pages

Benchmark

Change

Average Change
- 0.66KB
/ (front page)
- 7.96KB
/wp-admin/edit-comments.php
+ 1.48KB
/wp-admin/edit-tags.php?taxonomy=category
+ 1.62KB
/wp-admin/edit.php
+ 1.63KB
/wp-admin/index.php
+ 1.63KB
/wp-admin/media-new.php
+ 1.51KB
/wp-admin/options-discussion.php
+ 1.55KB
/wp-admin/options-writing.php
- 10.19KB
/wp-admin/post-new.php
+ 3.63KB
/wp-admin/post-new.php?post_type=page
+ 2.77KB
/wp-admin/upload.php
+ 1.44KB

User Rating of Accordion Shortcodes from WP Hive Users

5Star Icon

Overall Quality

Measures the overall quality

5Star Icon

Ease of Use

How easy it is to use?

5Star Icon

Quality of Support

Satisfied or not?

5 Star Icon

Value for Money

Is it good bang for the buck?

5Star Icon

Features

Is it feature riched?

Stats Stats

Download Statistics

Plugin Version Usage

Stats More

Database Tables

The plugin has added 0 additional options to your WordPress.

WP-Options

The plugin has added 0 additional options to your WordPress website.

Errors

Frequently Updated

  • The plugin has not been updated in the last 90 days.

Read more how WP Hive determines this data.

Show Off Your Plugin

Download Iocn

PHP 7.2.16

Powered by WP Hive

Download Iocn

WP 5.3

Powered by WP Hive

Icon

Love using this plugin?

Why don’t you compare the plugin side by side
with another plugin

Ratings & Reviews

Overall Quality
5
Ease of Use
5
Quality of Support
5
Value for Money
5
Features
5

Social Reviews and Recommendations Widgets Review Write a Review

5

4

3

2

1

Icon

Are you an author
of this plugin?

Write a Review

Overall Quality

Ease of Use

Quality of Support

Value for Money

Features

Stina Gunnarsdottir
5/5
Overall
Easy of Use
Features
Quality of Support
Value for Money

Pros & Cons: This is a review from the Editorial staff of WP Hive for test purposes. We are sure the plugin made it with good heart for WordPress users and we want to encourage his/her efforts by the first review.

Overall:The plugin should be working great. Even if it does not, we respect the time and effort. If you are using this plugin - leave a review with more information.

Changelog