<?php
/**
 * BuddyPress Check-ins support tab file.
 *
 * @package Bp_Checkins
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="wbcom-faq-admin-setting">
	<div class="wbcom-admin-title-section">
		<h3><?php esc_html_e( 'Have some questions?', 'bp-check-in' ); ?></h3>
	</div>
	<div class="wbcom-faq-admin-settings-block">
		<div id="wbcom-faq-settings-section" class="wbcom-faq-table">
			<div class="wbcom-faq-section-row">
					<button class="wbcom-faq-accordion">
						<?php esc_html_e( 'Does this plugin work with BuddyPress and BuddyBoss?', 'bp-check-in' ); ?>
					</button>
					<div class="wbcom-faq-panel">
						<p><?php esc_html_e( 'Yes, this plugin is compatible with both the BuddyPress and BuddyBoss platforms.', 'bp-check-in' ); ?></p>
					</div>
			</div>
			<div class="wbcom-faq-section-row">
				<div>
					<button class="wbcom-faq-accordion"><?php esc_html_e( 'What is the API key used for?', 'bp-check-in' ); ?></button>
					<div class="wbcom-faq-panel">
						<p><?php esc_html_e( 'The API key is used to enable Google Places autocomplete functionality, allowing users to check in to locations and display them on a map.', 'bp-check-in' ); ?></p>
					</div>
				</div>
			</div>
			<div class="wbcom-faq-section-row">
				<div>
					<button class="wbcom-faq-accordion"><?php esc_html_e( 'Does this plugin require location services?', 'bp-check-in' ); ?></button>
					<div class="wbcom-faq-panel">
						<p><?php esc_html_e( 'Yes, users must enable location services in their browser to use the check-in functionality.', 'bp-check-in' ); ?></p>
					</div>
				</div>
			</div>
			<div class="wbcom-faq-section-row">
				<div>
					<button class="wbcom-faq-accordion"><?php esc_html_e( 'How do users check-in with this plugin?', 'bp-check-in' ); ?></button>
					<div class="wbcom-faq-panel">
						<p><?php esc_html_e( 'Users can check in by selecting a location using the autocomplete feature on the BuddyPress or BuddyBoss activity post page. The selected location will then be displayed on a map.', 'bp-check-in' ); ?></p>
					</div>
				</div>
			</div>
			<div class="wbcom-faq-section-row">
				<div>
					<button class="wbcom-faq-accordion"><?php esc_html_e( 'Where can I view all check-ins?', 'bp-check-in' ); ?></button>
					<div class="wbcom-faq-panel">
						<p><?php esc_html_e( 'Check-ins can be viewed by selecting the "Check-ins" filter from the activity stream dropdown menu on the BuddyPress or BuddyBoss platform.', 'bp-check-in' ); ?></p>
					</div>
				</div>
			</div>
			<div class="wbcom-faq-section-row">
				<div>
					<button class="wbcom-faq-accordion"><?php esc_html_e( 'Does the plugin support profile location fields?', 'bp-check-in' ); ?></button>
					<div class="wbcom-faq-panel">
						<p><?php esc_html_e( 'Yes, the plugin includes an xProfile field that allows users to add location data to their profiles in BuddyPress or BuddyBoss.', 'bp-check-in' ); ?></p>
					</div>
				</div>
			</div>
			<div class="wbcom-faq-section-row">
				<div>
					<button class="wbcom-faq-accordion"><?php esc_html_e( 'Can I customize the plugin?', 'bp-check-in' ); ?></button>
					<div class="wbcom-faq-panel">
						<p>
						<?php
						printf(
							/* translators: %s: contact link */
							esc_html__( 'Yes, if you need custom modifications, feel free to contact us at %s.', 'bp-check-in' ),
							sprintf(
								'<a href="%1$s" target="_blank" title="%2$s" rel="noopener noreferrer">%2$s</a>',
								esc_url( 'https://wbcomdesigns.com/contact/' ),
								esc_html__( 'Wbcom Designs', 'bp-check-in' )
							)
						);
						?>
						</p>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
