simoneboccuzzi
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Add to Cart Button Label and Link for WooCommerce] Anchor linkOk! Thank you so much for your help and your work. I’ll do as you told me! However I would like to give you a suggestion. I am creating my products by duplicating an existing one. This way I need to change the link every time I create a product. If it were simply possible to admit the value “#contatti” I could duplicate my product without changing the link (it will already be filled with “contatti”).
Forum: Plugins
In reply to: [ACF-VC Integrator] Comma separatorThank you so much for your help, your time and your quick response.
Unfortunately the code doesn’t work. I hope you can help me again.
I attach a screenshot of what happens. Thank you!Screen
https://share.getcloudapp.com/d5uEqXPYI would like something like this:
https://share.getcloudapp.com/jkuZGpXX- This reply was modified 5 years, 8 months ago by simoneboccuzzi.
Hi!
I tried to use the code below on my website, but it doesn’t work. Can you help me?
The demo website: https://simoneboccuzzi.com/demo/shopTHANK YOU!
add_action( 'woocommerce_before_shop_loop_item_title', 'aq_display_brand_before_title' ); function aq_display_brand_before_title(){ global $product; $product_id = $product->get_id(); $brands = wp_get_post_terms( $product_id, 'pwb-brand' ); foreach( $brands as $brand ){ echo '<a href="'.get_term_link($brand->term_id).'" class=“brandshoppage”>’; echo $brand->name; echo '</a>'; } }