✏️ 正在编辑: single-product.php
路径:
/home/h359620/public_html/wp-content/themes/datis/woocommerce/single-product.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * The Template for displaying all single products * * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://woocommerce.com/document/template-structure/ * @package WooCommerce\Templates * @version 1.6.4 */ defined('ABSPATH') || exit; get_header('shop'); if (function_exists('datis_breadcrumbs') && !is_front_page()) : ?> <div class="container pt-3"> <div class="breadcrumbs"><?php datis_breadcrumbs(); ?></div> </div> <?php endif; ?> <?php while (have_posts()) : the_post(); wc_get_template_part('content', 'single-product'); endwhile; get_footer('shop');
💾 保存文件
← 返回文件管理器