Accordion Status

Estimated reading: 2 minutes 329 views

Summary: The Accordion Status Block for Advanced Accordions adds powerful controls to your Gutenberg editor, letting you set initial states, disable elements, and link accordions. These features streamline navigation, improve accessibility, and enhance how users engage with your content instantly.

Accordion Status Block

The Accordion Status Block in Advanced Accordions empowers you to control the initial state (open or closed) and user interaction with individual accordion items within your Gutenberg editor creations. This block, exclusive to Advanced Accordions, enhances the functionality and user experience of your accordion elements.

Key Features:

  • Active on Load:
    • Purpose: Pre-opens a specific accordion item when the page loads, drawing immediate attention to that content.
    • Configuration: Within the Accordion Status Block settings, select the desired accordion item from a dropdown menu.
  • Disable Accordion:
    • Purpose: Temporarily prevents users from expanding or collapsing a particular accordion item.
    • Configuration: Choose the accordion item you want to disable from the block’s settings. This item will appear visually inactive, but its content remains accessible through custom code (if necessary).
  • Linked Accordion:
    • Purpose: Establishes a connection between two accordion items, where expanding one automatically collapses the other. This is useful for maintaining a single-open accordion style.
    • Configuration:
      1. Add the Accordion Status Block below your accordion element.
      2. In the block’s settings, designate the “Linked To” accordion item from the dropdown menu.

Benefits:

  • Enhanced User Experience: Provides greater control over how users interact with your accordion content, guiding their attention and simplifying navigation.
  • Increased Engagement: Active on Load functionality can highlight crucial information, while Linked Accordions streamline content flow.
  • Accessibility: Disabling accordions can be helpful for creating interactive elements or when specific content might not be immediately relevant.

Integration with Gutenberg Editor

  1. Install and Activate Advanced Accordions: Ensure the plugin is installed and activated on your WordPress site.
  2. Add Accordion Block: In the Gutenberg editor, create a new Accordion block where you want to implement the status functionality.
  3. Insert Accordion Status Block: Below the Accordion block, add the Accordion Status Block.
  4. Configure Settings: Customize the Active on Load, Disable Accordion, and Linked Accordion options based on your requirements.

By following these guidelines and leveraging the Accordion Status Block, you can significantly elevate the functionality and user-friendliness of your accordion elements in Gutenberg-edited content. These features ensure a seamless user experience by guiding attention to key content or streamlining navigation within your accordion sections. To explore how to implement these features effectively, visit our Content Elements.

Leave a Reply

Your email address will not be published. Required fields are marked *

Share this Doc

Accordion Status

Or copy link

CONTENTS