How to change the design content-product.php?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
76 views
I have a file content-product.php. I fully wiped and inserted the following konstruktsiy:
<?phpremove_action('wp_head', 'print_emoji_detection_script', 7);remove_action('wp_print_styles', 'print_emoji_styles');get_header();?><?php get_footer();?>


As a result I get the output in the following order:
1) Blocks caused by wc-template-functions.php;
2) Header;
3) Footer.

How to change the order so that they are displayed in the following order: 2-1-3?
by | 76 views

1 Answer

0 like 0 dislike
Solution:
header and footer inserted in woocommerce.php
<?php get_header();?>\r<?php woocommerce_content(); ?>\r<?php get_footer();?>


In content-product.php enter only those units that want to see between the header and footer. Thank you for your attention! Only now another problem appeared) All the blocks content-product.php to fill up more as many times as within this product category, but that is another question)
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,389 users