rjmb 2 ارسال شده در فروردین 95 گزارش بازنشر ارسال شده در فروردین 95 سلام. سایت من خطاهایی میدهد که مربوط به کد زیر است: <?php woocommerce_custom_breadcrumb(); ?> نمونه هایی از خطا: Fatal error: Call to undefined function woocommerce_custom_breadcrumb() in /home/nlpfanir/domains/nlpfan.ir/public_html/wp-content/themes/Cartel-hamyarwp.com_/woocommerce.php on line 18 Fatal error: Call to undefined function woocommerce_custom_breadcrumb() in /home/nlpfanir/domains/nlpfan.ir/public_html/wp-content/themes/Cartel-hamyarwp.com_/fullpage.php on line 19 چکار باید بکنم؟ ]fddg نقل قول لینک به ارسال
alireza123654 2 ارسال شده در فروردین 95 گزارش بازنشر ارسال شده در فروردین 95 محتویات فایل های woocommerce.php و fullpage.php را بزارید که دوستان بتونن راهنماییتون کنن نقل قول لینک به ارسال
rjmb 2 ارسال شده در فروردین 95 مالک گزارش بازنشر ارسال شده در فروردین 95 محتوای فایل woocommerce.php: <?php /** * The template for displaying woocommerce pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package Cartel */ get_header(); ?> <div id="subheader"> <div class="container"><div class="row"> <div class="col-md-12"> <h2><?php _e( 'Shop', 'cartel' ); ?></h2> <?php woocommerce_custom_breadcrumb(); ?> </div> </div></div> </div> <div class="container"><div class="row"> <div class="col-md-12"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php woocommerce_content(); ?> </main><!-- #main --> </div><!-- #primary --> </div> </div></div> <?php get_footer(); ?> نقل قول لینک به ارسال
rjmb 2 ارسال شده در فروردین 95 مالک گزارش بازنشر ارسال شده در فروردین 95 محتوای فایل fullpage.php: <?php /** * The template for displaying full width pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * Template name: Fullpage * @package Cartel */ get_header(); ?> <div id="subheader"> <div class="container"><div class="row"> <div class="col-md-12"> <h2><?php the_title(); ?></h2> <?php woocommerce_custom_breadcrumb(); ?> </div> </div></div> </div> <div class="container"><div class="row"> <div class="col-md-12"> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : comments_template(); endif; ?> <?php endwhile; // end of the loop. ?> </main><!-- #main --> </div><!-- #primary --> </div> </div></div> <?php get_footer(); ?> نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .