┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/var/www/html/agron/wp-content/plugins/betterdocs/views/shortcode-parts
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: faq-list.php
<?php $faqs = betterdocs()->query->get_faq_by_term( $term->term_id ); if ( $faqs->have_posts() ) { echo '<ul class="betterdocs-faq-list">'; $faq_markup = ''; while ( $faqs->have_posts() ) : $faqs->the_post(); $faq_toggle = (bool)get_post_meta(get_the_ID(), 'faq_open_by_default', true); echo '<li>'; echo '<div class="betterdocs-faq-group'.($faq_toggle ? ' active' : '').'">'; $view_object->get( 'shortcode-parts/faq-title', [ 'faq_toggle' => $faq_toggle ] ); $view_object->get( 'shortcode-parts/faq-content', [ 'faq_toggle' => $faq_toggle ] ); echo '</div>'; echo '</li>'; if ( $faq_schema ) { $faq_json = [ '@type' => 'Question', 'name' => get_the_title(), 'acceptedAnswer' => [ '@type' => 'Answer', 'text' => get_the_content() ] ]; $GLOBALS['betterdocs_faq_schema_main_entity'][] = $faq_json; } endwhile; wp_reset_postdata(); wp_reset_query(); echo $faq_markup; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '</ul>'; } else { echo '<p>' . esc_html__( 'Sorry, no FAQ matched your criteria.', 'betterdocs' ) . '</p>'; }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 faq-content.php
PHP
174 B
2026-04-17 11:00
EDIT
📄 faq-list.php
PHP
1.2 KB
2026-04-17 11:00
EDIT
📄 faq-term-title.php
PHP
264 B
2026-04-17 11:00
EDIT
📄 faq-title.php
PHP
329 B
2026-04-17 11:00
EDIT
📄 search-results.php
PHP
3 KB
2026-04-17 11:00
EDIT