FAQ Block For Gutenberg

描述

FAQ blocks for Gutenberg provide a block for the new Gutenberg editor in WordPress which allows you to add FAQs with basic styling options.

This plugin allows you to add multiple FAQs.

You can easily give background color and font color to question and answer.

屏幕截图

  • FAQ block editor
  • Advanced color settings
  • FAQ preview

区块

该插件提供了 1 个区块.

  • FAQ Block For Gutenberg

安装

From the admin panel, Go to your WordPress Admin -> Plugins -> Add New. Search for FAQ Block For Gutenberg. Install and Activate.

From directories, Upload FAQ Block For Gutenberg to the /wp-content/plugins/ directory and activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

How to add faq in website

After installing FAQ block for Gutenberg you need to go to page or post section where you can see the Gutenberg editor and click on add block. Select FAQ block and add your question and answer. You will also be able to give the styling to FAQs.

How to disable Schema JSON-LD

Take, for example, the following line of code:

add_filter( 'fbfg_json_ld_output', '__return_false' );

Can I set global colors?

Yes, you can add it using this filter:

add_filter(
    'fbfg_global_colors',
    function ( $colors ) {
        $colors = array(
            'backgroundColor'         => '#f6f7f7',
            'questionTextColor'       => '#000',
            'questionBackgroundColor' => 'none',
            'answerTextColor'         => '#000',
            'answerBackgroundColor'   => 'none',
        );
        return $colors;
    }
);

评价

2024 年 5 月 20 日 4 回复
This plugin adds a simple FAQ block to the editor and there are sufficient styling options. I think it could be further improved regarding accessibility, by adding a clickable and focusable element like a button.
2023 年 11 月 8 日
Le plugin est très simple à installer et à utiliser. Une seule fonctionnalité et c’est celle que je recherchais. Merci
2020 年 6 月 24 日
This plugin used to work really well. However, recently the question part of the block is inaccessible when using the visual editor within Gutenberg. It’s no problem for me to use the HTML view in the editor to edit the question, but my client is having issues understanding that workaround, so I am faced with a decision to continue taking client complaints or switch plugins. I’ve added my voice to the support forum where others are having the same issue, but we have not received an update. If the developer could fix this one issue, it would be a perfect plugin.
2019 年 11 月 19 日
It’s a good plugin and simple, but we just translated it into Russian, but for some reason the whole translation does not appear in the admin panel
阅读所有8条评价

贡献者及开发者

「FAQ Block For Gutenberg」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「FAQ Block For Gutenberg」插件已被翻译至 4 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「FAQ Block For Gutenberg」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.6

  • Remove jQuery dependency

2.5

  • Bug Fixed ( https://wordpress.org/support/topic/php-notice-232/, https://wordpress.org/support/topic/supprimer-les-majuscules-a-tous-les-mots/, https://wordpress.org/support/topic/block-not-appearing-in-gutenberg-editor/ )
  • Added clone and delete block action ( https://wordpress.org/support/topic/define-colors-site-wide/ )
  • Compatible with WordPress ^6.3 ( https://wordpress.org/support/topic/react-error-2/ )
  • Compatible with PHP ^8.0
  • Added new filter for global colors – fbfg_global_colors

2.4

  • Bug Fixed ( https://wordpress.org/support/topic/php-warning-366/ )

2.3

  • Compatible with WordPress 5.5

2.2

  • Added javaScript i18n support.

2.1

  • Fixed block deprecated issue.

2.0

  • Merge JS and CSS.
  • Compatible with Google schema.

1.4

  • Bug Fixed ( CSS )

1.3

  • Bug Fixed (wp.editor Richtext undefine).
  • Keeping up with changes in gutenberg (version-4.5.1).

1.2

  • Bug Fixed.
  • Keeping up with changes in gutenberg.

1.1

  • Bug Fixed.
  • Keeping up with changes in gutenberg.

1.0

  • Initial release.