=== Accordion, FAQ Builder for Gutenberg Block Editor ===
Contributors: shamim496, selimmw, bdthemes
Donate link: http://bdthemes.com/
Tags: block-editor, gutenberg blocks, gutenberg plugin, Accordion
Requires at least: 6.1
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

The **Accordion** block you create interactive, customizable collapsible content for FAQs, product features or structured layouts within WordPress.

== Description ==

🚀 The **Accordion, FAQ Builder for Gutenberg Block Editor** is the perfect solution for creating beautiful, interactive **collapsible content** on your WordPress website. Designed for the modern web, our plugin helps you organize information elegantly while enhancing user experience and boosting **SEO performance**.

= ✨ Transform Your Content Presentation =

In today's digital landscape, visitors want information fast! Our **Accordion Block** lets you present large amounts of content in a compact, organized format. Perfect for:

- 📋 **FAQ Sections** - Answer common questions without overwhelming your page
- 🛍️ **Product Information** - Display features, specifications, and benefits neatly
- 📚 **Knowledge Bases** - Create structured, easy-to-navigate information resources
- 📱 **Mobile-Friendly Content** - Reduce scrolling and improve user experience
- 🏢 **Service Descriptions** - Showcase your services in an engaging, interactive way

= 🔍 SEO-Optimized for Better Rankings =

Search engines love well-organized content! Our accordion sections help you:

- 📈 Qualify for **FAQ Rich Snippets** in search results
- 🔤 Present comprehensive answers without cluttering your design
- 📊 Improve content readability and user engagement
- ⚡ Maintain fast page load times with collapsed content

= 📱 Responsive Design for All Devices =

With **50%+ of web traffic** coming from mobile devices, our accordion plugin is built **mobile-first**:

- 📲 Perfect display on smartphones, tablets, and desktops
- 👆 Touch-friendly controls for mobile users
- 🚀 Reduces page scrolling on small screens

= 🧩 Seamless Gutenberg Integration =

Unlike clunky shortcode-based plugins, our accordion block works **natively** with the WordPress Block Editor:

- 🔄 Drag-and-drop simplicity - no coding required
- 📦 Nest other blocks inside accordion content
- 🧩 Works seamlessly with other Gutenberg blocks

= 🎨 Powerful Customization Options =

Make your accordions match your brand perfectly:

- 🎭 Choose between **Accordion Mode** (one section open) or **Toggle Mode** (multiple open)
- 🌈 Customize colors, backgrounds, borders, and typography
- 🔣 Select from various icon options and positions
- ✨ Add custom animation effects

= ♿ Accessibility-First Design =

Create inclusive websites with:

- 🔤 Proper ARIA attributes for screen readers
- ⌨️ Full keyboard navigation support
- 👆 Touch-friendly targets for motor impairments

= 🚀 Speed-Optimized =

Website speed matters for both users and search engines:

- ⚡ Lightweight code with minimal impact on page speed
- 🧩 Loads resources only when needed
- 📱 Optimized for Core Web Vitals metrics

= 🌐 Global-Ready =

Reach worldwide audiences with:

- 🌍 Full **RTL language support** (Arabic, Hebrew, etc.)
- 🔤 Translation-ready for all languages
- 🌐 Works with multilingual websites

= 💼 Perfect for Any Website =

Our **Accordion Block** enhances virtually any WordPress site:

- 🏢 **Business Sites** - Present information professionally
- 🛒 **E-commerce** - Display product details without overwhelming shoppers 
- 🎓 **Educational Sites** - Organize learning materials logically
- 📰 **Blogs** - Create interactive, engaging content
- 🖼️ **Portfolios** - Showcase projects with expandable details

= 👨‍💻 Developer-Friendly =

For the technical crowd:

- 🧰 Clean, well-documented code
- 🔌 Custom hooks and filters for extensions
- 🎨 Support for custom CSS classes

Ready to transform your WordPress content? Install the **Accordion, FAQ Builder** today and create engaging, interactive content that users love and search engines reward!

== Installation ==

= Plugin Installation Method: =

1. Go to the WordPress dashboard
2. Got to the **Plugins** > **Add New**
3. Type **"Accordion"** in the search box
4. Click on **"Install"** button
5. After install the plugin **Activate** the plugin

= Installation via Zip file: =

1. Download Accordion block **plugin zip** file from WordPress
2. Go to site **Dashboard** > **Plugins** > **Add New** > **Upload Plugins**
3. Select the Accordion zip file and proceed to install
4. Activate Accordion.

== Upgrade Notice ==

There are no requirement for upgrade notice. Just click the update button and updated the plugin.

== Frequently Asked Questions ==

= 📋 How do I add and configure the WordPress Accordion Block? =

1. **Adding the Accordion Block**:
   - Open the WordPress Block Editor (Gutenberg editor).
   - Click the "+" button to add a new block.
   - Search for "**Accordion**" or "**FAQ**" and select the **Accordion Block** from the results.

2. **Adding FAQ Content**:
   - Type your question or topic into the accordion header/title field.
   - Add your answer content (text, images, lists, or other blocks) inside the collapsible section.
   - Click the "+" icon to add more accordion items as needed.

3. **Customizing Your Accordion**:
   - **Display Settings**: Use the block sidebar settings to customize the accordion behavior:
     - Choose whether accordions start in open or closed position.
     - Set to accordion mode (only one item open at a time) or toggle mode (multiple items can be open).
     - Control animation speed and effects.
   - **Style Customization**:
     - Adjust colors, typography, borders, and spacing.
     - Customize icons for open/close indicators.
     - Set padding and margins to match your theme.
   
4. **Previewing Your Accordion FAQs**:
   - Use the "Preview" button to see how your accordion looks and functions on the front end.
   - Test the accordion's responsive behavior at different screen sizes.

5. **Publishing Your Accordion**:
   - Save your changes and publish or update the post/page to make the accordion visible on your site.

= 🔄 Is the Accordion Block compatible with my WordPress theme? =
**Yes**, the **Accordion Block for Gutenberg** is designed to work seamlessly with all modern WordPress themes that support the block editor. The plugin uses WordPress core styling conventions, ensuring excellent compatibility across themes. If you experience any styling issues, you can easily adjust colors and spacing in the block settings to match your theme perfectly.

= ➕ Can I create multiple accordions on a single WordPress page? =
**Absolutely!** You can add as many accordion blocks as you need on a single page or post. This is perfect for creating comprehensive FAQ sections, product feature lists, or service descriptions. Each accordion block can have its own unique styling and behavior settings, allowing you to create varied content sections within the same page.

= 🌐 Is the Accordion Block plugin translation-ready for multilingual websites? =
**Yes**, the plugin is fully translation-ready and supports multilingual websites. All text elements can be translated to any language. The plugin works perfectly with popular translation plugins like WPML, Polylang, or TranslatePress. RTL language support is also included for languages like Arabic, Hebrew, and Persian.

= 🎨 How can I customize the appearance of my accordion sections? =
The plugin offers extensive **styling options** right in the Gutenberg editor:
- Customize **colors** for headers, content, borders, and icons
- Adjust **typography** including font family, size, weight, and spacing
- Set custom **borders and rounded corners**
- Change **padding and margins** for perfect spacing
- Select different **icon styles** or upload your own custom icons
- Add custom **CSS classes** for advanced styling needs

= ⚡ Is the Accordion Block plugin optimized for website performance? =
**Yes**, the plugin is engineered for optimal performance. It uses lightweight, efficient code and follows WordPress best practices to minimize impact on page load times. The plugin:
- Loads only the necessary resources when accordions are present
- Uses modern JavaScript without jQuery dependencies
- Employs efficient CSS that doesn't conflict with your theme
- Supports lazy loading of content within accordion sections
- Is optimized for Core Web Vitals metrics

= 📱 Does the Accordion Block work well on mobile devices? =
**Absolutely!** The plugin is built with a **mobile-first approach** ensuring perfect functionality across all devices. The accordions automatically adjust to fit any screen size, with touch-friendly targets for mobile users. The collapsible nature of accordions is particularly valuable on mobile devices, reducing the need for excessive scrolling.

= ♿ Is the Accordion Block accessible for users with disabilities? =
**Yes**, accessibility is a core feature. The plugin follows WCAG guidelines with:
- Proper **ARIA attributes** for screen readers
- **Keyboard navigation** support (Tab, Enter, Space, Arrow keys)
- **Focus management** for assistive technologies
- **Color contrast** options for visually impaired users
- **Semantic HTML** structure for better interpretation by assistive devices

= 🔍 Can the Accordion Block help with SEO for my WordPress site? =
**Yes!** The Accordion Block is built with SEO in mind. It creates a structured content format that search engines can easily understand. When used for FAQs, it can help your content qualify for rich snippets in search results. The plugin uses proper HTML5 semantic markup and helps organize content in a way that improves user engagement metrics, which can positively impact your SEO performance.

= 🔌 Do I need additional page builders like Elementor or Divi to use this plugin? =
**No**, the Accordion Block works natively with the WordPress block editor (Gutenberg). You don't need any additional page builders. In fact, this plugin gives you the professional accordion functionality typically found in premium page builders, right within the standard WordPress editor. Enjoy a faster, more seamless experience without the overhead of third-party page builders.

= 🛠️ Can developers extend or modify the Accordion Block functionality? =
**Yes**, the plugin is developer-friendly with a well-documented, clean codebase. Developers can:
- Use provided hooks and filters to modify behavior
- Add custom icon libraries
- Extend styling capabilities
- Integrate with other plugins
- Add custom functionality to accordion events

== Screenshots ==

1. **Accordion Interface** - The interactive accordion that engages visitors.
2. **Settings Page** - Configure your accordion settings for better customization.
3. **Responsive Design** - The plugin works seamlessly on both desktop and mobile device

== Changelog ==

  **= 1.0.1 - 23-04-2026 =**
  - Bug Fixes and Improvements

  **= 1.0.0 - 06-04-2025 =**
  - Initial Released

To build the plugin:

1. Clone the repository.
2. Run `npm install` to install dependencies.
3. Run `npm run build` to compile the plugin.
