HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //old_home_backup/medwaycarerscentre.org.uk/public_html/wp-content/themes/event/searchform.php
<?php
/**
 * Displays the searchform
 *
 * @package Theme Freesia
 * @subpackage Event
 * @since Event 1.0
 */
?>
<form class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get">
	<?php
		$event_settings = event_get_theme_options();
		$event_search_form = $event_settings['event_search_text'];
		if($event_search_form !='Search &hellip;'): ?>
	<label class="screen-reader-text"><?php echo esc_html($event_search_form);?></label>
	<input type="search" name="s" class="search-field" placeholder="<?php echo esc_attr($event_search_form); ?>" autocomplete="off" />
	<button type="submit" class="search-submit"><i class="fa-solid fa-magnifying-glass"></i></button>
	<?php else: ?>
	<input type="search" name="s" class="search-field" placeholder="<?php esc_attr_e( 'Search &hellip;', 'event' ); ?>" autocomplete="off">
	<button type="submit" class="search-submit"><i class="fa-solid fa-magnifying-glass"></i></button>
	<?php endif; ?>
</form> <!-- end .search-form -->