// SHYUXINPC SEO 优化脚本 add_action('wp_footer', 'shyuxinpc_seo_scripts'); function shyuxinpc_seo_scripts() { if (is_front_page() || is_home() || is_page(14)) { echo ""; echo ""; } } // shyuxinpc_seo_fix add_action('wp_footer', 'shyuxinpc_seo_fix_js'); function shyuxinpc_seo_fix_js() { echo ''; } // === SHYUXINPC Schema Markup === add_action('wp_head', 'shyuxinpc_schema_markup', 20); function shyuxinpc_schema_markup() { // LocalBusiness Schema on front page if (is_front_page() || is_home() || is_page(14)) { echo '' . PHP_EOL; } // Breadcrumb Schema on all pages $crumbs = array( array("name" => "Home", "url" => home_url("/")) ); if (is_single() || is_page()) { $crumbs[] = array("name" => get_the_title(), "url" => get_permalink()); } elseif (is_category() || is_product_category()) { $cat = get_queried_object(); if ($cat) { $crumbs[] = array("name" => "Products", "url" => home_url("/shop/")); $crumbs[] = array("name" => $cat->name, "url" => get_term_link($cat)); } } $items = array(); $i = 1; foreach ($crumbs as $crumb) { $items[] = array( "@type" => "ListItem", "position" => $i, "name" => $crumb["name"], "item" => $crumb["url"] ); $i++; } $breadcrumb_json = json_encode(array( "@context" => "https://schema.org", "@type" => "BreadcrumbList", "itemListElement" => $items ), JSON_UNESCAPED_SLASHES); echo '' . PHP_EOL; } // === END Schema Markup ====== // === Product Schema for WooCommerce (Safe Version) === add_action('wp_head', 'shyuxinpc_product_schema'); function shyuxinpc_product_schema() { // 只在 WooCommerce 产品页面执行 if (!function_exists('is_product') || !is_product()) return; global $product; if (!isset($product) || !is_object($product)) return; try { $name = method_exists($product, 'get_name') ? $product->get_name() : get_the_title(); $price = method_exists($product, 'get_price') ? $product->get_price() : ''; $in_stock = method_exists($product, 'is_in_stock') ? $product->is_in_stock() : true; $desc = ''; if (method_exists($product, 'get_short_description')) { $desc = wp_strip_all_tags($product->get_short_description()); } if (empty($desc) && method_exists($product, 'get_description')) { $desc = wp_strip_all_tags($product->get_description()); } $schema = array( "@context" => "https://schema.org", "@type" => "Product", "name" => $name, "description" => $desc ); if (!empty($price)) { $schema["offers"] = array( "@type" => "Offer", "priceCurrency" => "USD", "price" => $price, "availability" => $in_stock ? "https://schema.org/InStock" : "https://schema.org/OutOfStock" ); } echo '' . PHP_EOL; } catch (Exception $e) { // 静默失败,不影响页面渲染 } } // === END Product Schema === // === Breadcrumbs (PHP Generated, No AIOSEO Dependency) === add_action('wp_footer', 'shyuxinpc_breadcrumbs_final', 20); function shyuxinpc_breadcrumbs_final() { if (is_front_page() || is_home()) return; global $post; $crumbs = array(); $crumbs[] = array('name' => 'Home', 'url' => home_url('/')); if (is_singular('product') && function_exists('wc_get_product')) { $product = wc_get_product(get_the_ID()); if ($product) { $terms = get_the_terms(get_the_ID(), 'product_cat'); if ($terms && !is_wp_error($terms)) { $term = reset($terms); $crumbs[] = array('name' => 'Products', 'url' => get_permalink(wc_get_page_id('shop'))); $crumbs[] = array('name' => $term->name, 'url' => get_term_link($term)); } $crumbs[] = array('name' => get_the_title(), 'url' => ''); } } elseif (is_product_category()) { $cat = get_queried_object(); $crumbs[] = array('name' => 'Products', 'url' => get_permalink(wc_get_page_id('shop'))); $crumbs[] = array('name' => $cat->name, 'url' => ''); } elseif (is_page()) { $crumbs[] = array('name' => get_the_title(), 'url' => ''); } elseif (is_single()) { $categories = get_the_category(); if ($categories && !is_wp_error($categories)) { $cat = reset($categories); $crumbs[] = array('name' => $cat->name, 'url' => get_category_link($cat)); } $crumbs[] = array('name' => get_the_title(), 'url' => ''); } if (count($crumbs) < 2) return; // 构建面包屑 HTML $html = '
'; $html .= 'You are here: '; foreach ($crumbs as $i => $crumb) { if ($i > 0) $html .= ' » '; if (!empty($crumb['url'])) { $html .= '' . esc_html($crumb['name']) . ''; } else { $html .= '' . esc_html($crumb['name']) . ''; } } $html .= '
'; // 用 JS 插入到页面顶部 echo ''; } // === END Breadcrumbs Final ======= // === Footer Navigation Links for SEO === add_action('wp_footer', 'shyuxinpc_footer_nav', 5); function shyuxinpc_footer_nav() { if (is_front_page() || is_home()) return; echo '' . PHP_EOL; } // === END Footer Nav === // test save // test save Shyuxinpc-AI Hardware Service Provider https://validator.w3.org/feed/docs/rss2.html Contact Us How to Choose the Right GPU Server for AI Training in 2026 GPU Server vs Workstation: Which Is Right for Your AI Project? GPU Server vs Workstation: Which Is Right for Your AI Project? GPU Server vs Workstation: Which Is Right for Your AI Project? GPU Server vs Workstation: Which Is Right for Your AI Project? GPU Server vs Workstation: Which Is Right for Your AI Project? GPU Server vs Workstation: Which Is Right for Your AI Project? SHYUXINPC — GPU Servers | AI Workstations | Deep Learning Hardware (Singapore) Solutions — Custom AI Server & Deep Learning Infrastructure | SHYUXINPC About SHYUXINPC — GPU Servers & AI Workstations Singapore ASUS PRO PRO ET900A X9-WOCPU002Z MB+Chassis+System cooling solution+PSU ATX 2000W PLATINUM ASUS PRO ET700IPRO ET700I W7-WOCPU004Z MB+Chassis+System cooling solution+PSU ATX 1300W PLATINUM ASUS PRO ET500I PRO ET500I W8-WOCPU010Z MB Chassis 750W 125W CPU Shyuxinpc B300 is an 8U dual-processor AI server powered by the NVIDIA® HGX™ B300 platform with 8 NVIDIA® Blackwell GPUs. NVIDIA RTX PRO 4500 BLACKWELL 32GB GDDR7 NVIDIA RTX PRO™ 4000 Blackwell Generation NVIDIA RTX 6000 Ada Generation NVIDIA RTX 5000 Ada Generation 32GB GDDR6 NVIDIA RTX 4500 Ada Generation 24G GDDR6 NVIDIA RTX 4000 ADA GENERATION ATX 20GB GDDR6 NVIDIA RTX 4000 ADA GENeration ATX (BULK) 20GB GDDR6 NVIDIA RTX 4000 SFF ADA GENERATION LP 20GB GDDR6 NVIDIA RTX A1000 8GB DDR6 NVIDIA RTX 2000 ADA GENERATION LP 16GB GDDR6 NVIDIA RTX A400 4GB DDR6 ASUS NUC15CRH 15 PRO TALL Intel Core 15PRO TALL U5-225H Mini PC Gaming Computer Intel Core Ultra ASUS ROG NUC Mini PC 9955HX3D 32G 1TB WIN11(3Yrs ASUS Warranty)GR70-N90038AN ASUS ROG NUC U9-290HX RTX 5070TI DDR5 32GB 1TB WIN 11 MINI PC (3Yrs ASUS Warranty) RNUC16JNK9X389A3 ASUS ROG NUC U9-290HX RTX 5080 DDR5 32GB 1TB WIN 11 MINI PC (3Yrs ASUS Warranty) RNUC16JNK9X289A3 ASUS ROG NUC Mini PC U9-275HX RTX5080 32GB DDR5 1TB SSD WIN11(3Yrs ASUS Warranty) ASUS ROG NUC Mini PC U9-275HX 5070TI 32GB DDR5 1TB SSD WIN11(3Yrs ASUS Warranty) ASUS ROG NUC 2025 Ultra 7 255HX RTX 5060 16GB DDR5/1TB Win11 MINI PC (3Yrs ASUS Warranty) ASUS NUC 16 MINI PC C3-304 INTEL GRAPHICS WIFI 7 DDR5 Compute (3Yrs ASUS Warranty) RNUC16WCKC300000 ASUS NUC 16 MINI PC C5-320 INTEL GRAPHICS Wi-Fi 7 DDR5 Compute (3Yrs ASUS Warranty) RNUC16WCKC500000 ASUS NUC 16 MINI PC C7-350 INTEL GRAPHICS WIFI7 DDR5 Compute (3Yrs ASUS Warranty) RNUC16WCKC700000 ASUS NUC 16 PRO Mini PC Intel Ultra X7 358H 32GB LPDDR5x Barebone Wi-Fi 7 WINDOWS 11 PRO ( 3Yrs ASUS Warranty)RNUC16GDKX76C003 ASUS NUC15CRH 15 PRO TALL Intel Core 15PRO TALL U7-255H Mini PC Gaming Computer Intel Core Ultra RNUC15CRHU700000I ASUS NUC 16 Pro Mini PC Intel Ultra 7 356H Barebone WiFi 7 Arc Graphics (3Yrs ASUS Warranty)RNUC16GDKU760000 ASUS NUC 15 PRO Mini PC Ready to Use | 3-Yr Warranty | C3-100U ASUS NUC 15 PRO Mini PC Ready to Use | 3-Yr Warranty /C5-210H ASUS Ascent GX10 is a high-performance artificial intelligence (AI) workstation computer ASUS ROG NUC 14 COMPLETE GAMING MINI DESKTOPR NUC14SRKU7 Solution Gaming Mini PC ASUS ROG NUC 14 COMPLETE GAMING MINI DESKTOPR RNUC14SRKU9 Solution Gaming Mini PC GIGABYTE AI TOP ATOM DGX Spark Mini Supercomputer NVIDIA Desktop All-in-One Grace Blackwell AI Computer Deepseek Learning Workstation Server DGX Spark Buy products ASUS NUC 16 Pro Mini PC Intel Ultra X9 388H LPDDR5 32GB 64GB Gaming Office Desktop(3Yrs ASUS Warranty)RNUC16GDKX96C003 Intel Core i7-12700F Core i7 12th Gen Alder Lake 12Core (8P+4E) 2.1GHz LGA1700 65W Desktop Processor INTEL i3-12100F with Intel UHD Graphics 730, LGA1700 Socket supported