Skip to content

How to set close or open specific Accordion Item in WordPress?

Key Takeaways

  • Nexter Blocks Pro: el ajuste Default Active Tab existe en el bloque Accordion, pero en Nexter Blocks 5.0.6 no abre ningún elemento en páginas publicadas y el acordeón carga siempre cerrado.
  • Nexter Blocks Pro: con el valor 2, la página publicada muestra cero elementos con estado activo y el marcado es byte-identical al de un acordeón sin tocar el ajuste.
  • Anchor link to an accordion item: la ruta fiable hoy abre un elemento concreto al llegar desde otro enlace, mientras que poner el contenido más importante fuera del acordeón o ordenar la lista primero evita depender del ajuste roto.
Table of Contents

An accordion that starts fully closed hides everything, including the one answer most visitors came for. Starting with that item open saves everyone a click.

The Accordion block has a Default Active Tab setting for exactly this. This guide covers what it does today, measured on a published page.

Before You Start

  • Edition: Pro — the Default Active Tab setting needs Nexter Blocks Pro.
  • Block to enable: Accordion, switched on under Nexter > Blocks in your WordPress dashboard.
  • An Accordion block with a few items — see the main Accordion guide.

Please read the How It Behaves section below before using this setting. Measured on Nexter Blocks 5.0.6, it does not currently open an item.

Steps

  1. Select your Accordion block and open its settings.
The Default Active Tab setting on the Accordion block
  1. Enter the position of the item that should start open, counting from the first item.
  1. Publish and check the real page.

How It Behaves

Measured on Nexter Blocks 5.0.6, on published pages: no item opens, whatever value is entered. The accordion always loads fully closed.

  • Measured directly: with the setting at 2, the published page rendered zero items carrying an active state. The markup was byte-identical to an accordion with the setting untouched.
  • This is a bug, not a configuration mistake. It has been reported to the development team with the measurement above. This page will be corrected once it is fixed.
  • Everything else about the accordion works normally — items still open and close on click, and the rest of the block is unaffected.
  • Measured with Nexter Blocks Pro deactivated: this setting produces no attribute at all on the published page and the accordion falls back to plain click behaviour.

What to Do Instead

Until the setting works, these are the honest options.

  • Put the most important content outside the accordion. If one answer matters enough to be open on arrival, it is usually better as ordinary text above the list.
  • Link straight to an item. An anchor link to an accordion item opens that item for a visitor arriving from elsewhere, which covers the common case of pointing someone at one specific answer.
  • Order the list so the most-wanted item is first. It costs one click and no workaround.

Limitations

  • The setting does not currently work — measured, as described above.
  • Pro only even once fixed: measured with Nexter Blocks Pro deactivated, the setting produces no attribute on the page whatsoever.
  • An open-by-default item still hides the rest. Opening one does not make an accordion a good place for content everybody needs.

Troubleshooting

I set a value and nothing opens

That is the current behaviour, measured and reported. Nothing is wrong with your setup. See What to Do Instead above.

Is there a value that does work?

No. Measured with the position given as both text and a number, neither opened an item.

Can I open an item with a link instead?

Yes, and this is the reliable route today. See the anchor link to an accordion item guide.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

Why does my accordion stay closed even after I set a default item?

That is the current behavior in Nexter Blocks 5.0.6. The Accordion block has a Default Active Tab setting, but on published pages it does not open any item, no matter what value you enter. The page says this is a bug, not a setup mistake, and the accordion still works normally for click-to-open behavior.

What do I need before trying to open an accordion item by default in WordPress?

The setting is Pro-only and needs Nexter Blocks Pro.Block must be enabled under Nexter > Blocks in your WordPress dashboard, and you need an Accordion block with a few items already added. That matters because the setting only applies to the Accordion block itself, not to a blank page or a disabled block.

Is there any value that actually opens an accordion item by default?

Measured on Nexter Blocks 5.0.6, no value works right now. The page says that even when the position is entered as text or as a number, the published page still renders with zero active items and loads fully closed. In other words, the issue is with the setting itself, not with how the value is typed.

What is the best workaround if I need one answer visible on load?

The cleanest workaround is to put the most important content outside the accordion. If one answer really needs to be visible immediately, ordinary text above the list avoids hiding it behind a click. Another practical option is to order the list so the most wanted item comes first, which keeps the experience simple without relying on a broken default-open setting.

Can I open a specific accordion item with a link instead?

An anchor link to an accordion item is the reliable option today. The page says this opens that item for a visitor arriving from elsewhere, which makes it useful when you want to point someone at one specific answer. That approach is covered in Set an anchor link to an accordion item.

Does opening one accordion item by default hide the rest of the content?

An open-by-default item still hides everything else inside the accordion. The page calls that out as a limitation, which means opening one panel does not turn an accordion into a good place for content everybody needs right away. If multiple answers matter up front, putting them outside the accordion is usually the safer layout choice.

Last reviewed: September 28, 2026

Related Docs