21 lines
509 B
PHP
Executable File
21 lines
509 B
PHP
Executable File
<?php
|
|
/**
|
|
* Site header search dropdown HTML
|
|
*
|
|
* @package OceanWP WordPress theme
|
|
*/
|
|
|
|
// Exit if accessed directly.
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
// Search attributes.
|
|
$item_search_attrs = apply_filters( 'oceanwp_attrs_search_bar', '' );
|
|
|
|
?>
|
|
|
|
<div id="searchform-dropdown" class="header-searchform-wrap clr" <?php echo $item_search_attrs; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
|
|
<?php get_search_form(); ?>
|
|
</div><!-- #searchform-dropdown -->
|