我有一个大问题-我复制了存档产品。php的我的商店-和我的东西出错!!我的店铺不再工作了-现在我发现了错误:
分析错误:语法错误,在/home/autocen5/www/autocen5中出现意外的文件结尾。myhostpoint。ch/wordpress/wp content/themes/royal/woocommerce/archive product。php第63行
我想我最后忘了什么??这是我的代码-我做错了什么??
<?php
/**
* The Template for displaying product archives, including the main shop page which is a post type archive.
*
* Override this template by copying it to yourtheme/woocommerce/archive-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.0.0
*/
if ( ! defined( \'ABSPATH\' ) ) exit; // Exit if accessed directly
get_header( \'shop\' );
$l = et_page_config();
$full_width = etheme_get_option(\'shop_full_width\');
if($full_width) {
$l[\'content-class\'] = \'col-md-12\';
$l[\'sidebar\'] = \'without\';
}
/**
* woocommerce_before_main_content hook
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
*/
do_action( \'woocommerce_before_main_content\' );
?>
<div class="<?php echo (!$full_width) ? \'container\' : \'shop-full-width\'; ?>">
<div class="page-content sidebar-position-<?php echo esc_attr( $l[\'sidebar\'] ); ?> sidebar-mobile-<?php esc_attr_e( $l[\'shop-sidebar-mobile\'] ); ?>">
<div class="row">
<div class="content main-products-loop <?php esc_attr_e( $l[\'content-class\'] ); ?>">
<div class="<?php echo ($full_width) ? \'container\' : \'\'; ?>">
<?php etheme_category_header();?>
<?php do_action( \'woocommerce_archive_description\' ); ?>
</div>
<div class="shop-filters-area">
<?php if(!function_exists(\'dynamic_sidebar\') || !dynamic_sidebar(\'shop-widgets-area\')): ?>
<?php endif; ?>
</div>
<?php if ( have_posts() ) : ?>
<?php if (woocommerce_products_will_display()): ?>
<div class="filter-wrap">
<div class="filter-content">
<?php
/**
* woocommerce_before_shop_loop hook
*
* @hooked woocommerce_result_count - 20
* @hooked woocommerce_catalog_ordering - 30
* @hooked et_grid_list_switcher - 35
或在此处显示图片:
谢谢你帮助我!!!
萨布丽娜