AmandaEve
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Conditional Formattingno … this isn’t working at all.
crap. even if the user is not a subscriber the buttons are showing as empty.
Forum: Plugins
In reply to: [WooCommerce] Conditional Formattingokay .. I just added
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text' ); // 2.1 + function woo_custom_cart_button_text() { return __( 'View Issue', 'woocommerce' ); }i think it might have worked … i think.
Forum: Plugins
In reply to: [WooCommerce] Conditional Formattingupdate … in the single-product/add-to-cart/single.php … i found ` <button type=”submit”
class=”single_add_to_cart_button button alt”><?php echo esc_attr($product->single_add_to_cart_text()); ?></button>`so … i need to add the text for the link in there … but what do I put there?
<?php do_action( 'woocommerce_add_to_cart_button_text' ); ?>^ i just made that up … i have no idea what that is.
Forum: Plugins
In reply to: [WooCommerce] Product Grid Wonkinesssorry … i’ve got so much to do … and only one day to do it … i’m not ‘with it’ … thanks for your help Mike.
🙂
Forum: Plugins
In reply to: [WooCommerce] Conditional FormattingOMG! I”m a GOd! I used this: http://clicknathan.com/web-design/conditional-statement-woocommerce-subscriptions/
but … the buttons are just little squares … no text.
Any ideas?
Forum: Fixing WordPress
In reply to: Footer dissappearedYes – indeed I did. Thanks for responding though.
Forum: Plugins
In reply to: [WooCommerce] Product Grid WonkinessYAY!!!! it worked! So there are two columns. Where to I make 4 … ?
Forum: Plugins
In reply to: [WooCommerce] Product Grid Wonkinessoh … excellent – thanks. I’ll give it a try.
Forum: Plugins
In reply to: [WooCommerce] Product Grid Wonkinessoh. That sounds good. What should I do then? Googling … clear css
Forum: Plugins
In reply to: [WooCommerce] Product Grid WonkinessI replaced:
add_filter( 'loop_shop_columns', 'thim_woocommerce_columns_product', 10
with
add_filter( 'loop_shop_columns', 'wc_loop_shop_columns', 20 );this no change.
link to page: newsstand
Forum: Plugins
In reply to: [WooCommerce] Product Grid WonkinessSorry – it doesn’t change anything. I put it in functions.php in the child theme. not the custom-functions.php. Should I have?
Forum: Plugins
In reply to: [WooCommerce] Product Grid WonkinessForum: Plugins
In reply to: [WooCommerce] Product Grid Wonkinessmaybe it’s set up somewhere to put six in a row …. that would explain the wonky-ness … right?
Forum: Plugins
In reply to: [WooCommerce] Product Grid Wonkinessi found this …
/** * Filter columns product in archive product */ if ( ! function_exists( 'thim_woocommerce_columns_product' ) ) { function thim_woocommerce_columns_product( $current ) { if ( is_archive() ) { $theme_options_data = thim_options_data(); if ( isset( $theme_options_data['thim_woo_cate_columns'] ) ) { return intval( $theme_options_data['thim_woo_cate_columns'] ); } else { return 3; } } return $current; } } //add_filter( 'loop_shop_columns', 'thim_woocommerce_columns_product', 10 ); add_filter( 'loop_shop_columns', 'thim_woocommerce_columns_product', 1, 10 ); /* * Return a new number of maximum columns for shop archives * @param int Original value * @return int New number of columns */ function wc_loop_shop_columns( $number_columns ) { return 2; }Forum: Plugins
In reply to: [WooCommerce] Product Grid Wonkinessi’m going to look for the thim_woocommerce_columns_product function now … i think i’ll find it in the theme files … i think. :s