开发者 | dogbytemarketing |
---|---|
更新时间 | 2025年8月1日 04:31 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv3 |
版权网址: | 版权信息 |
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.Use [faqs_dbm]
as the container shortcode and [faq_dbm q="Your question?" a="Your answer."]
for each individual FAQ item. Wrap the individual items inside the container like this:
[faqs_dbm]\
[faq_dbm q="What is this plugin for?" a="It helps you display FAQs with JSON-LD schema for SEO."]\
[/faqs_dbm]
Yes, enable the "Shortcode Alias" option in the plugin settings. This will allow you to use [faqs]
and [faq]
instead of the default [faqs_dbm]
and [faq_dbm]
.
Go to Settings > FAQ Shortcode, and check the box labeled Accordion. This makes the FAQ entries collapsible and expandable.
In the settings page, you can set:
#ff0000
) for each.Yes! It automatically generates JSON-LD structured data so search engines like Google can understand and feature your FAQs.
Yes, but it's sanitized. Only the following tags are allowed in the answers:
<a>
with href
, title
, and target
<strong>
<em>
<ol>
<ul>
<li>
You would simply replace the " with ' [faqs] [faq q="How to include a link" a="Just like this"] [/faqs]