FAQ Block

Custom FAQ Block for WordPress Gutenberg

What is a Gutenberg block?+
A Gutenberg block is a modular content component in WordPress that allows users to build pages visually using reusable elements.
Can I edit these FAQs after publishing?+
Yes, all FAQ items are stored as block attributes and can be edited directly inside the Gutenberg editor at any time.
Does this block support dynamic updates?+
Yes, the block updates in real time using React state and persists changes through WordPress block attributes.
Can I reorder FAQ items?+
Yes, you can move items up and down to change their order using built-in reorder controls.
Is the frontend interactive?+
Yes, the frontend uses vanilla JavaScript to provide accordion functionality with smooth open/close animations.
Can I delete FAQ items?+
Yes, each FAQ item includes a delete option with a confirmation prompt to avoid accidental removal.
Does this block use React?+
Yes, the editor side uses React via the WordPress block editor environment.
Can I style the FAQ block?+
Yes, the block includes custom SCSS styling and can be extended or overridden with theme styles.
Is this production ready?+
It is a fully functional custom Gutenberg block suitable for production with minor enhancements for scalability.
What features does this FAQ block include?+
It includes add, edit, delete, reorder, expand/collapse, rich text support, and frontend accordion functionality.