How to set an anchor link to an accordion item in WordPress?

Key Takeaways

  • Adds Unique ID to accordion items in the Nexter Blocks Accordion block for direct linking.
  • Links from buttons or tables of contents to specific FAQ answers or sections using the ID prefixed with #.
  • Requires installation and activation of Nexter Blocks to utilize the Accordion block features.
Table of Contents

Want to send visitors directly to a specific accordion item on a page? By adding a Unique ID to any accordion item in the Nexter Blocks Accordion block, you can create an anchor link that opens that item directly when clicked from anywhere on the page.

This is useful when you want to link from a button, table of contents, or external page to a specific question in a FAQ accordion or to a specific section in a collapsible content list.

To check the complete feature overview documentation of the Nexter Blocks Accordion block, click here.

Best Used For:

  • FAQ pages where you want to link directly to a specific answer from an email or external source
  • Knowledge base articles where a table of contents links to specific collapsed sections
  • Product pages where a button scrolls to and opens a specific accordion item for specs or pricing

Requirement – This block is part of Nexter Blocks. Make sure it is installed and activated.

Add the Accordion block to the page and click on the accordion item you want to link to. In the Unique ID field, add an ID value, such as faq-item-1.

How to set an anchor link to an accordion item in WordPress?

To link to that accordion item from another element on the page, add the ID prefixed with # in the Link field. For example, using the Advanced Button block in Nexter Blocks, enter the anchor in the button’s Link field.

Add the ID with # in the Link field, for example: #faq-item-1.

How to set an anchor link to an accordion item in WordPress?

When a visitor clicks the linked button, the page scrolls directly to that accordion item and opens it.

Also check, How to use Image Gallery, Video inside Accordion WordPress Block.

About the Author

Photo of Aditya Sharma CMO of Nexter
CMO at POSIMYTH Innovations · Nexter · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!