Yitzi
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [WordPress Social Login] Woocommerce – does it work?I used the following code in my theme’s (or child theme) functions.php
add_action( 'woocommerce_before_customer_login_form', 'wsl_render_login_form_login_form' ); add_action( 'woocommerce_before_checkout_form', 'wsl_render_login_form_login_form' ); // Hook in add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); // Our hooked in function - $fields is passed via the filter! function custom_override_checkout_fields( $fields ) { $current_user = wp_get_current_user(); $fields['billing']['billing_first_name']['default'] = $current_user->user_firstname; $fields['billing']['billing_last_name']['default'] = $current_user->user_lastname; return $fields; }I fixed this problem in my installation by getting rid of the extra comma (after {$imgHeight}) in the js call in simple-countdown-timer.php
This:
<script type="text/javascript"> jQuery(function(){ jQuery('#sct_id_{$sct_code_incremental_id} .sct_count').countdown({ image: '{$digits}', format: "{$jsdays}:hh:mm:ss", startTime: "{$js}", digitWidth: {$imgWidth}, digitHeight: {$imgHeight}, }); }); </script>becomes:
<script type="text/javascript"> jQuery(function(){ jQuery('#sct_id_{$sct_code_incremental_id} .sct_count').countdown({ image: '{$digits}', format: "{$jsdays}:hh:mm:ss", startTime: "{$js}", digitWidth: {$imgWidth}, digitHeight: {$imgHeight} }); }); </script>Forum: Plugins
In reply to: [Easy Nivo Slider] Sliders without caption are not workingTry this fix
nytr0x, from the “Fatal error when I try to access Network Panel(On Multi-SIte installation” thread:
Try changing:
if (is_admin()) {in easy-nivo-slider.php (about line 113) to:
if (is_admin() && (!defined('WP_NETWORK_ADMIN') || !WP_NETWORK_ADMIN)) {Forum: Plugins
In reply to: [Easy Nivo Slider] Easy Nivo Slider breaks WPAre you using multisite?
Try changing:
if (is_admin()) {in easy-nivo-slider.php (about line 113) to:
if (is_admin() && (!defined('WP_NETWORK_ADMIN') || !WP_NETWORK_ADMIN)) {
Viewing 6 replies - 1 through 6 (of 6 total)