| 199 | | |
| 200 | | <fieldset class="field-move hide-if-no-js description description-wide"> |
| 201 | | <span class="field-move-visual-label" aria-hidden="true"><?php _e( 'Move' ); ?></span> |
| 202 | | <button type="button" class="button-link menus-move menus-move-up" data-dir="up"><?php _e( 'Up one' ); ?></button> |
| 203 | | <button type="button" class="button-link menus-move menus-move-down" data-dir="down"><?php _e( 'Down one' ); ?></button> |
| 204 | | <button type="button" class="button-link menus-move menus-move-left" data-dir="left"></button> |
| 205 | | <button type="button" class="button-link menus-move menus-move-right" data-dir="right"></button> |
| 206 | | <button type="button" class="button-link menus-move menus-move-top" data-dir="top"><?php _e( 'To the top' ); ?></button> |
| 207 | | </fieldset> |
| | 199 | |
| | 200 | <?php |
| | 201 | /** |
| | 202 | * Let users add custom menu settings without overwriting the whole walker |
| | 203 | * @param object $item Menu item data object. |
| | 204 | * @param int $depth Depth of menu item. Used for padding. |
| | 205 | */ |
| | 206 | do_action('add_menu_settings', $item, $depth, $classes ); |
| | 207 | ?> |
| | 208 | |
| | 209 | <p class="field-move hide-if-no-js description description-wide"> |
| | 210 | <label> |
| | 211 | <span><?php _e( 'Move' ); ?></span> |
| | 212 | <a href="#" class="menus-move menus-move-up" data-dir="up"><?php _e( 'Up one' ); ?></a> |
| | 213 | <a href="#" class="menus-move menus-move-down" data-dir="down"><?php _e( 'Down one' ); ?></a> |
| | 214 | <a href="#" class="menus-move menus-move-left" data-dir="left"></a> |
| | 215 | <a href="#" class="menus-move menus-move-right" data-dir="right"></a> |
| | 216 | <a href="#" class="menus-move menus-move-top" data-dir="top"><?php _e( 'To the top' ); ?></a> |
| | 217 | </label> |
| | 218 | </p> |