Is it possible to remove tags, such as the <li>
tags from around the products/categories in WooCommerce? I have tried searching for hooks, and more. Also, I successfully removed the <ul>
tags from around the product set as well. I would like to spit out all product data in my cell since I am using foundation framework. Is this possible, or do I have to take an alternative route?
To change the html structure in Woocommerce
You should need, most of the time, to make changes in the available Woocommerce templates .
First you should read how to override woocommerce templates via your active theme
Now to change (or remove) the <li>
tags on products and product category archives , you need to override content-product.php and content-product_cat.php templates file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.