跳到内容

Custom Accordion

v1.3.0

imajade · 2024年5月5日 上架

A custom accordion shortcode for WordPress that allows users to create accordion dropdowns in posts, pages, and widgets.

正在使用
10+
评分
暂无
累计下载
1,148
最近更新
2024年5月5日
需要 WordPress 5.0+已测试到 6.4.15

贡献者

截图

Screenshot 1.
Screenshot 1.
Screenshot 2.
Screenshot 2.

The Custom Accordion plugin allows you to easily create accordions in your WordPress posts, pages, and widget areas. Simply use the [ca-accordion] and [ca-accordion-item title=”Your Title Here”]

<

p>Your Content Here

<

p>[/ca-accordion-item][/ca-accordion] shortcodes to create accordions.

Arbitrary section

The Custom Accordion plugin is optimized for performance by conditionally loading its assets. This helps prevent unnecessary HTTP requests on pages where the accordion functionality is not needed. The plugin now supports accordion shortcodes in ‘text’ widgets, making it even more versatile.

Advanced Customization

For developers looking to further customize the accordions, the plugin provides CSS classes that can be easily targeted for custom styles. You can add your custom CSS in your theme’s stylesheet to change the look and feel of the accordion to match your site’s design.

Troubleshooting

If you encounter any issues with the display of accordions on your site, first ensure that there are no JavaScript conflicts with other plugins by disabling other plugins one by one to identify any conflicts.

Future Enhancements

Future updates may include new features such as:
– Multiple accordion styles to choose from.
– Integration with the WordPress Customizer for adjusting styles.

Feedback and Support

For feedback, support, and suggestions, please visit the support forums on the WordPress plugin directory page or the GitHub repository page.

Remember, if you enjoy using the Custom Accordion plugin and find it useful, rate it and leave a review on the WordPress plugin directory page. Your feedback is appreciated and it helps to improve the plugin!

Sample Shortcode Usage

[ca-accordion]
[ca-accordion-item title=”Section 1″]

<

p>This is the first section of the accordion.

<

p>
[/ca-accordion-item]
[ca-accordion-item title=”Section 2″]

<

p>This is the second section of the accordion.

<

p>
[/ca-accordion-item]
[/ca-accordion]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums