@cbaone:
This is still a work in progress, but if you replace the section of code in ezfaq.inc.php with this:
if ( ($items[0] != "") && ($items[1] != "") ) {
$output .= '<p id="faq'.$itemCount.'-title" class="handcursor">';
$output .= '<span class="faqQuestion">';
$output .= $items[0];
$output .= '</span>';
$output .= '</p>';
$aArray = explode("Extra:",$items[1]);
$output .= '<div id="faq'.$itemCount.'" class="switchgroup1">';
//$output .= '<p class="faqAnswer">';
$output .= $aArray[0];
//$output .= '</p>';
$output .= '</div>';
if ($aArray[1] != "") {
$output .= $aArray[1];
}
}
And then put your code in the faq content file exactly like this:
Q: question
A: Answer
Extra: Your anchor code here
Your anchor code will be placed between the items rather than in them. I don’t think this will break any existing implementations and it should help others who want to add headings for various FAQ sections.
Your navigation section will have to go at the top of the FAQ document, just before the snippet call.
Try it and let me know if you can get it to work.
Bob