wordpress - Why are Woocommerce product names showing the word line [line] in square brackets after? -
as title suggests, can please advise why woocommerce showing word line in square brackets '[line]' after product names?
please see image below:
i using latest version of wordpress (3.8.1), yith socute theme , woocommerce following plugins:
- wow slider
- woocommerce compare
- woocommerce ajax navigation
- woocommerce wish list
- woocommerce magnifier
i think there may simple explanation missing; however, can't find answers using google and, have spent far time looking (a full day).
so, it's time ask help.
thanks everyone.
the [line]
been added page piece of code:
add_action( 'woocommerce_single_product_summary', create_function( '', 'echo do_shortcode("[line]");' ) );
in woocommerce/content-single-product.php
file
to remove [line]
1 of 2 things:
change piece of code to
add_action( 'woocommerce_single_product_summary', create_function( '', 'echo do_shortcode(" ");' ) );
remove/comment out line, in doing need add
clear:left;
.single-product.woocommerce div.product .description
style:.single-product.woocommerce div.product .description { margin-top: 20px; margin-bottom: 20px; clear: left; }
otherwise description come onto same line product title.
Comments
Post a Comment