context['filterwell/queryId'] ) ) { return; } wp_enqueue_style( 'wp-block-search' ); $qlf_prefix = FilterWell::prefix( $block->context['filterwell/queryId'], ! empty( $block->context['filterwell/inherit'] ) ); $qlf_request = FilterWell::get_request( $qlf_prefix ); $qlf_label = FilterWell::text( $attributes, 'label', __( 'Date', 'filterwell' ) ); $qlf_input = FilterWell::input_style_attributes( $attributes ); $qlf_fields = array( 'from' => FilterWell::text( $attributes, 'fromLabel', __( 'From', 'filterwell' ) ), 'to' => FilterWell::text( $attributes, 'toLabel', __( 'To', 'filterwell' ) ), ); // En un archivo por fecha (p. ej. /2025/09/) los campos muestran su período. Si // se cambian: un bucle heredado (limitado al período por la consulta principal) // va a la página de entradas con el rango elegido; un bucle propio se queda en // la misma página y el rango elegido reemplaza al del archivo. $qlf_archive_url = $qlf_request['date_archive'] && ! empty( $block->context['filterwell/inherit'] ) ? FilterWell::all_items_url( $block->context['filterwell/postType'] ?? 'post' ) : ''; $qlf_wrapper = get_block_wrapper_attributes( array( 'class' => 'wp-block-search wp-block-search__button-outside' ) ); ?>
> 'true' ) ) ); } ?>
$qlf_field_label ) : $qlf_id = wp_unique_id( 'qlf-date-' ); ?>
style="" name="" value="" />