Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/valentin-grenier/heureux-mix-blocks/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Heureux Mix FAQ Block Plugin
A custom Gutenberg block for displaying a list of FAQ items using posts of a custom post type question.
Description
The Heureux Mix FAQ Block Plugin allows users to display FAQs dynamically on their WordPress site. The block retrieves up to 5 posts from the question custom post type and renders them as an FAQ list.
Features
- Custom Gutenberg block for FAQs.
- Retrieves the latest 5 posts from the
questionpost type. - Displays each post's title as the question and content as the answer.
Installation
- Upload the plugin files to the
/wp-content/plugins/heureux-mix-faq-blockdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Add the block to your post or page through the Gutenberg editor.
Usage
- Ensure that you have a custom post type named
questionwith content populated. - Add the "Heureux Mix FAQ" block to your content using the Gutenberg editor.
- The block will display up to 5 FAQs based on the latest posts in the
questionpost type.