开发者 |
dilipbheda
jigar-bhanushali |
---|---|
更新时间 | 2024年4月23日 13:07 |
PHP版本: | 7.2 及以上 |
WordPress版本: | 6.5 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
FAQ Block For Gutenberg
to the /wp-content/plugins/
directory and activate the plugin through the 'Plugins' menu in WordPressAfter 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.
Take, for example, the following line of code:
add_filter( 'fbfg_json_ld_output', '__return_false' );
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; } );
fbfg_global_colors