HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User: scientificreligi (1062)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/scientificreligi/public_html/wp-content/themes/scientific-religion/templates/popup/search.php
<?php
/**
 * The template for displaying search
 */
$ajax_nonce = wp_create_nonce("search_popup_nonce");
?>
<div data-search-ajax="true" data-search-ajax-action="search_popup"
     data-search-ajax-nonce="<?php echo esc_attr($ajax_nonce) ?>" id="search-popup"
     class="search-popup-wrap mfp-hide mfp-with-anim">
    <?php $post_type = G5Plus_Auteur()->options()->get_search_popup_post_type();?>
	<form action="<?php echo esc_url(home_url('/')) ?>" method="get" class="search-popup-form clearfix">
		<input data-search-ajax-control="input" name="s" class="search-popup-field" type="search"
		       placeholder="<?php esc_attr_e('Type at least 3 characters to search', 'g5plus-auteur') ?>"
		       autocomplete="off">
        <?php if(count($post_type) == 1 && $post_type[0] == 'product'): ?>
            <input type="hidden" name="post_type" value="product">
        <?php endif; ?>
		<button type="submit" class="search-popup-button" ><i data-search-ajax-control="icon" class="fal fa-search"></i></button>
	</form>
	<div data-search-ajax-control="result" class="search-popup-result"></div>
</div>