<?php
   /**
    * _faq
    *
    * @package Wojo Framework
    * @author wojoscripts.com
    * @copyright 2023
    * @version 5.50: _faq.tpl.php, v1.00 7/12/2023 10:30 AM Gewa Exp $
    *
    */
   if (!defined('_WOJO')) {
      die('Direct access to this location is not allowed.');
   }
?>
<h2 class="margin-big-bottom"><?php echo $this->row->title; ?></h2>
<?php echo $this->row->body; ?>
<?php if ($this->questions): ?>
   <?php foreach ($this->questions as $row): ?>
      <article class="wojo card">
         <div class="content">
            <h4><?php echo Url::out_url($row->question); ?></h4>
            <?php echo $row->answer; ?></div>
      </article>
   <?php endforeach; ?>
<?php endif; ?>