@@ 394-398 (lines=5) @@ | ||
391 | <label> |
|
392 | <?php esc_html_e( 'Sort by', 'jetpack' ); ?> |
|
393 | <select class="jetpack-search-sort"> |
|
394 | <?php foreach ( $this->get_sort_types() as $sort => $label ) { ?> |
|
395 | <option value="<?php echo esc_attr( $sort ); ?>" <?php selected( $current_sort, $sort ); ?>> |
|
396 | <?php echo esc_html( $label ); ?> |
|
397 | </option> |
|
398 | <?php } ?> |
|
399 | </select> |
|
400 | </label> |
|
401 | </div> |
|
@@ 779-783 (lines=5) @@ | ||
776 | <select |
|
777 | name="<?php echo esc_attr( $this->get_field_name( 'sort' ) ); ?>" |
|
778 | class="widefat jetpack-search-filters-widget__sort-order"> |
|
779 | <?php foreach ( $this->get_sort_types() as $sort_type => $label ) { ?> |
|
780 | <option value="<?php echo esc_attr( $sort_type ); ?>" <?php selected( $instance['sort'], $sort_type ); ?>> |
|
781 | <?php echo esc_html( $label ); ?> |
|
782 | </option> |
|
783 | <?php } ?> |
|
784 | </select> |
|
785 | </label> |
|
786 | </p> |
|
@@ 869-873 (lines=5) @@ | ||
866 | <select |
|
867 | name="<?php echo esc_attr( $this->get_field_name( 'sort' ) ); ?>" |
|
868 | class="widefat jetpack-search-filters-widget__sort-order"> |
|
869 | <?php foreach ( $this->get_sort_types() as $sort_type => $label ) { ?> |
|
870 | <option value="<?php echo esc_attr( $sort_type ); ?>" <?php selected( $instance['sort'], $sort_type ); ?>> |
|
871 | <?php echo esc_html( $label ); ?> |
|
872 | </option> |
|
873 | <?php } ?> |
|
874 | </select> |
|
875 | </label> |
|
876 | </p> |