這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AD Sliding FAQ

描述

AD Sliding FAQ creates a custom post type in order to create your FAQ. Once your FAQ posts are created you can add the FAQ in a page or a post with a shortcode, or in a template with a function. This plugin has been created with accessibility in mind.

How-To

To display your FAQ use the shortcode [sliding_faq] in a page or a post. By default, the questions are wrapped inside a H2 HTML tag.
If you want to have H3 instead, just add the attribute heading to the shortcode, for example: [sliding_faq heading='h3'].
You can create different topics for your FAQ using the custom taxonomy FAQ Topics, this way you can display multiple FAQ. To do so, add the topic attribute to the shortcode with the name of your topic(s), for example: [sliding_faq topic='Accessibility, SEO'].
You can of course use both attributes: [sliding_faq heading='h3' topic='Accessibility'].
Featured images are now supported and the default size is ‘thumbnail’. You can choose other dimensions size with the ‘size’ attribute: [sliding_faq size='large']. The attribute will support thumbnail, medium, large and full or any custom size. (Note that you’ll have to customize the CSS if you want to display a large image.)

Translations

You can translate AD Sliding FAQ on translate.wordpress.org.

To-Do

  • Turn the shortcode to a block
  • Add Widget Support

螢幕截圖

  • FAQ List View
  • FAQ Editor View
  • The FAQ on a page
  • The Shortcode attributes

安裝

  • Download the zip archive and upload it to your WordPress site.
  • Activate the plugin, then you will notice a new FAQ section in your dashboard.
  • Start creating your FAQ!

常見問題

How can I display my FAQ?

To display your FAQ, just add the shortcode [sliding_faq] in a post or a page! Use the heading attribute to select the heading level, for example: [sliding_faq heading='h3']. Use the topic attribute to display multiple FAQ, for example: [sliding_faq topic='Accessibility, SEO'].

Can I use a function directly in one of my theme templates to display my FAQ?

Sure, you can use the function <?php sliding_faq(); ?> in your theme templates. As for the shortcode, you can choose the heading level you want instead of h2 for the questions, for example: <?php sliding_faq('h3'); ?>, and you can choose a FAQ topic: <?php sliding_faq('h3','Accessibility'); ?>

評價

2018年9月9日
Une FAQ très simple et facile à mettre en oeuvre. Possibilité de créer plusieurs FAQ dans votre site. Je recommande 🙂
閱讀全部2個評價

貢獻者及開發者

“AD Sliding FAQ” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

AD Sliding FAQ 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 AD Sliding FAQ 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.4 – 2020-04-22

  • New editor support
  • Hierarchical topics
  • Bugfix: first faq output

2.3 – 2018-07-22

  • Load JS only if the shortcode is on the page
  • Featured image support
  • CPT custom title and column

2.2 – 2018-04-13

  • Add the possibility to display several topics in one shortcode (thanks to Sébastien Serre)

2.1 – 2018-04-04

  • A11y: Arrow sign on the button instead of the title

2.0 – 2018-03-29

  • Taxonomy support
  • Topic shortcode attribute
  • New screenshot

1.9.1 – 2018-03-28

  • Add cap for administrators 🙂

1.9 – 2018-03-28

  • Capabilities added (thanks to Thierry Pigot)

1.8 – 2017-11-24

  • Bugfix: output all the FAQs
  • WordPress 4.9 ready

1.7 – 2017-07-06

  • Accessibility improvements with aria-hidden and aria-controls attributes (thanks to Claire Bizingre)
  • SEO improvements with new HTML markup (headings)
  • Shortcode heading attribute

1.6.6 – 2017-07-02

  • French Translation Completed

1.6.5 – 2017-06-29

  • WP repository submission

1.6 – 2017-06-08

  • Auto-update via GitHub
  • Button styles

1.5 – 2017-06-07

  • Auto-update
  • Changelog
  • Text domain fix

1.4 – 2017-06-02

  • Accessibility improvements

1.3 – 2016-10-12

  • JS improvements

1.2 – 2015-11-12

  • Text domain fix

1.1 – 2015-10-02

  • Add page attributes support for the FAQ

1.0 – 2015-06-30

  • Initial Commit