| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/betterdocs/views/layouts/ |
Upload File : |
<?php
$faq_terms = get_terms( betterdocs()->query->faq_terms_query_args() );
if ( $enable && $have_posts && ! empty( $faq_terms ) ) {
$enable_faq_schema = betterdocs()->settings->get( 'enable_faq_schema' );
$shortcode_attr['faq_schema'] = $enable_faq_schema;
$attributes = betterdocs()->template_helper->get_html_attributes( $shortcode_attr );
if ( $layout === 'layout-1' ) {
echo do_shortcode( '[betterdocs_faq_list_modern ' . $attributes . ']' );
} else if ( $layout === 'layout-2' ) {
echo do_shortcode( '[betterdocs_faq_list_classic ' . $attributes . ']' );
}
}