class="no-js "> document.getElementsByTagName("html")[0].classList.add("themecolor-toodark");'; } ?>
>
\n"; } public function end_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat("\t", $depth); $output .= "\n$indent
\n"; } public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { if ($depth == 0){ if ($args -> walker -> has_children == 1){ $output .= "\n
" . $object -> title . "
"; }else{ $output .= "\n
" . $object -> title . "
"; } }else if ($depth == 1){ $output .= "
" . $object -> title . "
"; } } public function end_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { if ($depth == 0){ $output .= "\n
"; } } } if ( has_nav_menu('toolbar_menu') ){ echo "
"; wp_nav_menu( array( 'container' => '', 'theme_location' => 'toolbar_menu', 'items_wrap' => '%3$s', 'depth' => 0, 'walker' => new toolbarMenuWalker() ) ); echo "
"; } // 左侧自定义链接 $toolbar_links_left = get_option('argon_toolbar_links_left', ''); if (!empty(trim($toolbar_links_left))) { echo '
'; foreach (explode("\n", $toolbar_links_left) as $line) { $line = trim($line); if (empty($line)) continue; $parts = array_map('trim', explode('|', $line)); if (!empty($parts[0])) { $url = isset($parts[1]) ? $parts[1] : '#'; $icon = isset($parts[2]) ? '
' : ''; echo '
' . $icon . esc_html($parts[0]) . '
'; } } echo '
'; } ?>
'; foreach (explode("\n", $toolbar_links_right) as $line) { $line = trim($line); if (empty($line)) continue; $parts = array_map('trim', explode('|', $line)); if (!empty($parts[0])) { $url = isset($parts[1]) ? $parts[1] : '#'; $icon = isset($parts[2]) ? '
' : ''; echo '
' . $icon . esc_html($parts[0]) . '
'; } } echo '
'; } ?>
×
' . get_option('argon_banner_subtitle') . ''; ?>
'; ?>
0): // 如果开启了毛玻璃但没设置透明度,自动应用推荐透明度 if ($post_bg_opacity_standalone == '' || $post_bg_opacity_standalone == '1') { $post_bg_opacity_standalone = max(0.75, 0.92 - $card_blur_standalone * 0.008); } $blur_value_standalone = $card_blur_standalone . 'px'; ?>
aria-label="Comment" tooltip="">
aria-label="Toggle Darkmode" tooltip-darkmode="" tooltip-blackmode="" tooltip-lightmode="">
aria-label="Open Blog Settings Menu" tooltip="">
Sans Serif
Serif
0%