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":293,"date":"2026-07-22T15:12:37","date_gmt":"2026-07-22T07:12:37","guid":{"rendered":"https:\/\/www.huaiyesucheng.com\/?p=293"},"modified":"2026-07-22T15:14:50","modified_gmt":"2026-07-22T07:14:50","slug":"v8","status":"publish","type":"post","link":"https:\/\/www.huaiyesucheng.com\/ar\/v8\/","title":{"rendered":"V8"},"content":{"rendered":"

    \"\"<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    Parameter<\/th>\nSpecification<\/th>\n<\/tr>\n<\/thead>\n
    Screen<\/td>\n21.5 inch display<\/td>\n<\/tr>\n
    Input Voltage<\/td>\nAC220V\u00b110% \/ AC110V\u00b110%<\/td>\n<\/tr>\n
    Rated Motor Power<\/td>\n3.0 HP<\/td>\n<\/tr>\n
    Motor Peak Power<\/td>\n7.0 HP<\/td>\n<\/tr>\n
    Rated Motor Current<\/td>\n8.6 A<\/td>\n<\/tr>\n
    Speed Range<\/td>\n1.0 \u2013 20 km\/h<\/td>\n<\/tr>\n
    Console Display<\/td>\nTime, Distance, Calories, Heart Rate, etc.<\/td>\n<\/tr>\n
    Incline Range<\/td>\n0 \u2013 20% (Motorized Adjustment)<\/td>\n<\/tr>\n
    Running Belt<\/td>\n2.2mm thick, 18mm thick running board<\/td>\n<\/tr>\n
    Running Surface<\/td>\n1550 \u00d7 595 mm<\/td>\n<\/tr>\n
    Product Dimensions<\/td>\n2200 \u00d7 900 \u00d7 1750 mm<\/td>\n<\/tr>\n
    Wooden Crate Size<\/td>\n2200 \u00d7 950 \u00d7 470 mm<\/td>\n<\/tr>\n
    Carton Size<\/td>\n950 \u00d7 700 \u00d7 350 mm<\/td>\n<\/tr>\n
    Max User Weight<\/td>\n150 kg<\/td>\n<\/tr>\n
    Net Weight<\/td>\n185 kg<\/td>\n<\/tr>\n
    Gross Weight<\/td>\n220 kg<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"

    Parameter Specification Screen 21.5 inch display Input Voltage AC220V\u00b110% \/ AC110V\u00b110% Rated Motor Power 3.0 HP Motor Peak Power 7.0 HP Rated Motor Current 8.6 A Speed Range 1.0 \u2013 20 km\/h Console Display Time, Distance, Calories, Heart Rate, etc. Incline Range 0 \u2013 20% (Motorized Adjustment) Running Belt 2.2mm thick, 18mm thick running board […]<\/p>","protected":false},"author":1,"featured_media":280,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6,2,9],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aerobic","category-products","category-treadmill"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts\/293","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=293"}],"version-history":[{"count":2,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/posts\/293\/revisions\/297"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/media\/280"}],"wp:attachment":[{"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huaiyesucheng.com\/ar\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}