public function start_el(&$output, $item, $depth = 0, $args = null, $id = 0) { if (isset($args->item_spacing) && 'discard' === $args->item_spacing) { $t = ''; $n = ''; } else { $t = "\t"; $n = "\n"; } $indent = ($depth) ? str_repeat($t, $depth) : ''; $classes = empty($item->classes) ? array() : (array) $item->classes; $classes[] = 'nav-item'; $classes[] = 'menu-item-' . $item->ID; // 处理下拉菜单 if (in_array('menu-item-has-children', $classes)) { $classes[] = 'dropdown'; $classes[] = 'dmenu'; // 如果是三级菜单,添加子菜单类 if ($depth == 1) { $classes[] = 'dropdown-submenu'; } } /** * Filters the arguments for a single nav menu item. * * @since 4.4.0 * * @param stdClass $args An object of wp_nav_menu() arguments. * @param WP_Post $item Menu item data object. * @param int $depth Depth of menu item. Used for padding. */ $args = apply_filters('nav_menu_item_args', $args, $item, $depth); /** * Filters the CSS classes applied to a menu item's list item element. * * @since 3.0.0 * @since 4.1.0 The `$depth` parameter was added. * * @param array $classes The CSS classes that are applied to the menu item's `
  • ` element. * @param WP_Post $item The current menu item. * @param stdClass $args An object of wp_nav_menu() arguments. * @param int $depth Depth of menu item. Used for padding. */ $class_names = join(' ', apply_filters('nav_menu_css_class', array_filter($classes), $item, $args, $depth)); $class_names = $class_names ? ' class="' . esc_attr($class_names) . '"' : ''; /** * Filters the ID applied to a menu item's list item element. * * @since 3.0.1 * @since 4.1.0 The `$depth` parameter was added. * * @param string $menu_id The ID that is applied to the menu item's `
  • ` element. * @param WP_Post $item The current menu item. * @param stdClass $args An object of wp_nav_menu() arguments. * @param int $depth Depth of menu item. Used for padding. */ $id = apply_filters('nav_menu_item_id', 'menu-item-' . $item->ID, $item, $args, $depth); $id = $id ? ' id="' . esc_attr($id) . '"' : ''; $output .= $indent . ''; $atts = array(); $atts['title'] = !empty($item->attr_title) ? $item->attr_title : ''; $atts['target'] = !empty($item->target) ? $item->target : ''; $atts['rel'] = !empty($item->xfn) ? $item->xfn : ''; $atts['href'] = !empty($item->url) ? $item->url : ''; $atts['class'] = 'nav-link'; // 处理下拉菜单链接 if (in_array('menu-item-has-children', $item->classes)) { $atts['class'] .= ' dropdown-toggle'; $atts['data-toggle'] = 'dropdown'; $atts['role'] = 'button'; $atts['aria-haspopup'] = 'true'; $atts['aria-expanded'] = 'false'; } /** * Filters the HTML attributes applied to a menu item's anchor element. * * @since 3.6.0 * @since 4.1.0 The `$depth` parameter was added. * * @param array $atts { * The HTML attributes applied to the menu item's `` element, empty strings are ignored. * * @type string $title Title attribute. * @type string $target Target attribute. * @type string $rel The rel attribute. * @type string $href The href attribute. * } * @param WP_Post $item The current menu item. * @param stdClass $args An object of wp_nav_menu() arguments. * @param int $depth Depth of menu item. Used for padding. */ $atts = apply_filters('nav_menu_link_attributes', $atts, $item, $args, $depth); $attributes = ''; foreach ($atts as $attr => $value) { if (is_scalar($value) && '' !== $value && false !== $value) { $value = ('href' === $attr) ? esc_url($value) : esc_attr($value); $attributes .= ' ' . $attr . '="' . $value . '"'; } } /** This filter is documented in wp-includes/post-template.php */ $title = apply_filters('the_title', $item->title, $item->ID); /** * Filters a menu item's title. * * @since 4.4.0 * * @param string $title The menu item's title. * @param WP_Post $item The current menu item. * @param stdClass $args An object of wp_nav_menu() arguments. * @param int $depth Depth of menu item. Used for padding. */ $title = apply_filters('nav_menu_item_title', $title, $item, $args, $depth); $item_output = $args->before; $item_output .= ''; $item_output .= $args->link_before . $title . $args->link_after; $item_output .= ''; $item_output .= $args->after; /** * Filters a menu item's starting output. * * The menu item's starting output only includes `$args->before`, the opening ``, * the menu item's title, the closing ``, and `$args->after`. Currently, there is * no filter for modifying the opening and closing `
  • ` for a menu item. * * @since 3.0.0 * * @param string $item_output The menu item's starting HTML output. * @param WP_Post $item Menu item data object. * @param int $depth Depth of menu item. Used for padding. * @param stdClass $args An object of wp_nav_menu() arguments. */ $output .= apply_filters('walker_nav_menu_start_el', $item_output, $item, $depth, $args); }
    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896

    Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/huaiyesucheng/wp-content/themes/fitnessequipment/inc/class-wp-bootstrap-navwalker.php:1) in /www/wwwroot/huaiyesucheng/wp-includes/rest-api/class-wp-rest-server.php on line 1896
    {"id":348,"date":"2026-07-22T16:17:16","date_gmt":"2026-07-22T08:17:16","guid":{"rendered":"https:\/\/www.huaiyesucheng.com\/?p=348"},"modified":"2026-07-22T16:17:16","modified_gmt":"2026-07-22T08:17:16","slug":"e01","status":"publish","type":"post","link":"https:\/\/www.huaiyesucheng.com\/ar\/e01\/","title":{"rendered":"E01"},"content":{"rendered":"

    \"\"<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n
    Parameter<\/th>\nSpecification<\/th>\n<\/tr>\n<\/thead>\n
    Product Dimensions<\/td>\n2100 \u00d7 640 \u00d7 1800 mm<\/td>\n<\/tr>\n
    Net Weight<\/td>\n154 kg<\/td>\n<\/tr>\n
    Gross Weight<\/td>\n174 kg<\/td>\n<\/tr>\n
    Screen Display<\/td>\nTime, Distance, Speed, Calories, Heart Rate, Exercise Pattern<\/td>\n<\/tr>\n
    Mode<\/td>\nCombination of automatic mode and memory mode<\/td>\n<\/tr>\n
    Resistance System<\/td>\n1-32 EMS spontaneous electromagnetic control system, flywheel adopts strong magnetic magnet accurate adsorption resistance adjustment system<\/td>\n<\/tr>\n
    Power System<\/td>\nSelf-generating system<\/td>\n<\/tr>\n
    Advantages<\/td>\n(1) Super-large fixed handrails, safer and more comfortable; (2) Super-large pedal design; (3) Storage box on the platform for mobile phones and other small items during exercise; (4) Electromagnet controlled self-generating system<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"

    Parameter Specification Product Dimensions 2100 \u00d7 640 \u00d7 1800 mm Net Weight 154 kg Gross Weight 174 kg Screen Display Time, Distance, Speed, Calories, Heart Rate, Exercise Pattern Mode Combination of automatic mode and memory mode Resistance System 1-32 EMS spontaneous electromagnetic control system, flywheel adopts strong magnetic magnet accurate adsorption resistance adjustment system Power […]<\/p>","protected":false},"author":1,"featured_media":349,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6,12,2],"tags":[],"class_list":["post-348","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aerobic","category-elliptical-machine","category-products"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts\/348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/comments?post=348"}],"version-history":[{"count":1,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts\/348\/revisions"}],"predecessor-version":[{"id":353,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts\/348\/revisions\/353"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/media\/349"}],"wp:attachment":[{"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/media?parent=348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/categories?post=348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/tags?post=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}