fix: preserve progressive CHRNX search
This commit is contained in:
7 files changed
+66
-31
No files matched your search
@@ -38,7 +38,7 @@ $chrnx_search_panel_id = wp_unique_id( 'chrnx-search-panel-' );
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
<form class="chrnx-header-search" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>" data-chrnx-search data-expanded="false">
|
||||
<form class="chrnx-header-search" role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>" data-chrnx-search data-expanded="true">
|
||||
<div id="<?php echo esc_attr( $chrnx_search_panel_id ); ?>" class="chrnx-header-search-row" data-chrnx-search-panel>
|
||||
<label class="chrnx-screen-reader-text" for="<?php echo esc_attr( $chrnx_search_id ); ?>"><?php echo esc_html( $chrnx_search_label ); ?></label>
|
||||
<input id="<?php echo esc_attr( $chrnx_search_id ); ?>" type="search" name="s" autocomplete="off">
|
||||
@@ -47,7 +47,7 @@ $chrnx_search_panel_id = wp_unique_id( 'chrnx-search-panel-' );
|
||||
type="submit"
|
||||
data-chrnx-search-button
|
||||
aria-controls="<?php echo esc_attr( $chrnx_search_panel_id ); ?>"
|
||||
aria-expanded="false"
|
||||
aria-expanded="true"
|
||||
data-label-open="<?php echo esc_attr__( 'Open search', 'chrnx' ); ?>"
|
||||
data-label-submit="<?php echo esc_attr( $chrnx_search_label ); ?>"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user