optipub-faqs
This "optipub-element" retrieves all of the frequently asked questions for a specific publication. Check out Getting Started With OptiPub Elements first.
jQuery RecommendedThe default template used in this element uses classes and functionality that works best with jQuery and Bootstrap4 JavaScript. Check out the Bootstrap Documentation to learn how to incorporate that into your website.
You do not have to use jQuery, but you will be responsible for handling the additional functionality or overwriting the template.
Usage
Required PropertyThe
optipub-faqselement requires a "publication-id" property to be defined on the element.
<optipub-faqs publication-id="1"></optipub-faqs>Custom Properties
Property | Description | Example |
|---|---|---|
"open-id" | Used to choose which question(s) are expanded on page load. | open-id="1,2" |
Complete Example
<optipub-faqs
publication-id="1"
open-id="1"
columns="question,answer,active"
sort="rank|asc"
per-page="20"
page="1"
></optipub-faqs>Updated 13 days ago
What’s Next
