/** * functions.php * @package WordPress * @subpackage Machic * @since Machic 1.0 */ // Load parent theme style add_action( 'wp_enqueue_scripts', 'machic_enqueue_styles', 99 ); function machic_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_style_add_data( 'parent-style', 'rtl', 'replace' ); } // Make shortcodes work inside text widgets add_filter('widget_text','do_shortcode'); // Shortcode to display product categories (footer + product pages) function custom_product_categories_shortcode() { $args = array( 'taxonomy' => 'product_cat', 'orderby' => 'name', 'hide_empty' => true, 'parent' => 0, 'number' => 8, // Limit to 8 categories ); if (is_product()) { global $product; $terms = get_the_terms($product->get_id(), 'product_cat'); if ($terms && !is_wp_error($terms)) { $parent_id = $terms[0]->parent ? $terms[0]->parent : $terms[0]->term_id; $args['parent'] = $parent_id; } } $categories = get_terms($args); if (!empty($categories) && !is_wp_error($categories)) { $output = '
'; // Close the unordered list return $output; } return 'No categories available
'; // Default message if no categories found } add_shortcode('footer_categories', 'custom_product_categories_shortcode');Eaton S-Series Racks supports a broad range of rack accessories, as well as power distribution, management and protection products, to provide a proven platform that you can depend on to support your critical IT operations.
– Fully-welded steel frame that can store up to 2,200 pounds of computer and networking equipment
– Enhanced frame ensures zero leakage around the front perimeter and also features oval grommets in front frame verticals for cable pass-thru between racks
– Split rear doors provide easier access and maneuverability in data center environments
– Top panel with two six-inch wide brushed openings for cable egress
– A wide range of horizontal and vertical cable management options enhance cabinet-to-cabinet and top-to-bottom cable routing
– Guaranteed compatibility with EIA-310 standard size equipment
– A wide range of cable management options enhance cable routing horizontally and vertically
– Split rear doors provide easy access and maneuverability
| Product colour | Black |
|---|---|
| Material | Metal |
| Width | 609.6 mm |
| Depth | 1066.8 mm |
| Weight | 158.8 kg |
Reviews
There are no reviews yet.