Hi all
After pulling my hair out with the FAQ app, I’m experimenting with using a ‘Multistate’ box connected to a FAQ Collection to achieve the same results, so I have a simple Multistate box with an Close (Question) and Open (Answer) state using the following Velo code:
$w.onReady(function () {
$w('#plusIcon1').onClick(() => {
$w('#stateBox1').changeState("open1");
})
$w('#minusIcon1').onClick(() => {
$w('#stateBox1').changeState("close1");
})
});
And this works and does the job successfully.
What I’d now like to know is how would I add code to ensure each page has dynamically inject structured data for each FAQ?
If it anyone could advise it would be greatly appreciated.
Many thanks
Stephen
(unfortunately this silly discussion system won’t let me add more than one image/screens shot so I’ve added the answer part screenshot in the reply below).
Product:
Wix Studio
What are you trying to achieve:
A FAQ connected to a FAQ Collection that auto-appends dynamically inject structured FAQ data for SEO purposes
What have you already tried:
Successfully integrating a FAQ to a FAQ Collection and using a Multistate box to use an Open and Close answer format.
Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]