larionm18
Forum Replies Created
-
Same for me, the plugin doesn’t translate the content of the widgets Login/myaccount and Dynamic cart in the header. The menus are still
in English and I can also see them few seconds in french before changing in english. I can’t finish my website beacuse of this problem.
SOMEONE COULD HELP US ?Theme : Tripod
plugin : WoocommerceThanks by advance
Forum: Plugins
In reply to: [Plugin : Hide title] doesn't work for the posts, why ?Now you ask me, it works with WordPress, I made my website with it but I bought it at Theme Forest
Forum: Plugins
In reply to: [Disable Title] not workingSorry, I don’t have any downnload, there is a fee…
Forum: Plugins
In reply to: [Disable Title] not workingHi,
I also tried this plugin but it doesn’t work neither.
I use the 3.7 wordpress version and the Tripod Theme.Would you have any solution ?
Thanks by advance
Forum: Plugins
In reply to: [Plugin : Hide title] doesn't work for the posts, why ?Tripod theme
I have Tripod theme. I’m sure there is a solution, I hope you will help me…
Forum: Plugins
In reply to: [Plugin : Hide title] doesn't work for the posts, why ?Yes, I already checked the box. I did the same action for each, but the post title is still there whereas the page title is hidden.
I would like ti understand why and what should I doThank you Richard ! I read the link you gave me and the solution seems to be to add this code in the addtocart.php.
function remove_loop_button(){ remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); } add_action('init','remove_loop_button');
But could you tell me exactly where I put it in my php ? Sorry to ask you more informations but I’m afraid to break my site…! I did it twice yet.
<?php /** * Loop Add to Cart * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $product; ?> <?php if ( ! $product->is_in_stock() ) : ?> <a href="<?php echo apply_filters( 'out_of_stock_add_to_cart_url', get_permalink( $product->id ) ); ?>" class="button"><?php echo apply_filters( 'out_of_stock_add_to_cart_text', __( 'Read More', 'woocommerce' ) ); ?></a> <?php else : ?> <?php $link = array( 'url' => '', 'label' => '', 'class' => '' ); $handler = apply_filters( 'woocommerce_add_to_cart_handler', $product->product_type, $product ); switch ( $handler ) { case "variable" : $link['url'] = apply_filters( 'variable_add_to_cart_url', get_permalink( $product->id ) ); $link['label'] = apply_filters( 'variable_add_to_cart_text', __( 'Select options', 'woocommerce' ) ); break; case "grouped" : $link['url'] = apply_filters( 'grouped_add_to_cart_url', get_permalink( $product->id ) ); $link['label'] = apply_filters( 'grouped_add_to_cart_text', __( 'View options', 'woocommerce' ) ); break; case "external" : $link['url'] = apply_filters( 'external_add_to_cart_url', get_permalink( $product->id ) ); $link['label'] = apply_filters( 'external_add_to_cart_text', __( 'Read More', 'woocommerce' ) ); break; default : if ( $product->is_purchasable() ) { $link['url'] = apply_filters( 'add_to_cart_url', esc_url( $product->add_to_cart_url() ) ); $link['label'] = apply_filters( 'add_to_cart_text', __( 'Add to cart', 'woocommerce' ) ); $link['class'] = apply_filters( 'add_to_cart_class', 'add_to_cart_button' ); } else { $link['url'] = apply_filters( 'not_purchasable_url', get_permalink( $product->id ) ); $link['label'] = apply_filters( 'not_purchasable_text', __( 'Read More', 'woocommerce' ) ); } break; } echo apply_filters( 'woocommerce_loop_add_to_cart_link', sprintf('<a href="%s" rel="nofollow" data-product_id="%s" data-product_sku="%s" class="%s button product_type_%s">%s</a>', esc_url( $link['url'] ), esc_attr( $product->id ), esc_attr( $product->get_sku() ), esc_attr( $link['class'] ), esc_attr( $product->product_type ), esc_html( $link['label'] ) ), $product, $link ); function remove_loop_button(){ remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); } add_action('init','remove_loop_button'); ?> <?php endif; ?>