danbranigan
Forum Replies Created
-
I’m selling subscriptions – maybe Pagseguro can’t spport subscription recurring payments?
Forum: Plugins
In reply to: [The Events Calendar] Google Maps not showing even with API enabledProblem resolved. The plugin wasn’t parsing the map address correctly – I simplified the address and the map showed up. Weird because the address works fine on the actual Google Maps page.
Forum: Plugins
In reply to: [WooCommerce] Can't change order of Shipping MethodsI’m having the same issue
I’m trying to make the “weight-based” shipping option the default shipping option on the basket page.
I’ve tried using this code:
<?php //set default shipping method function reset_default_shipping_method( $method, $available_methods ) { // If the shipping method has been chosen don't do anything //if ( ! empty( $method ) ) { // return $method; //} // add code to set 'Weight based' as the default shipping method $method = 'woowbs'; return $method; } add_filter('woocommerce_shipping_chosen_method', 'reset_default_shipping_method', 10, 2); ?>
However when I do a test on the checkout for the ID of the selected method like this:
$chosen_methods = WC()->session->get( 'chosen_shipping_methods' ); $chosen_shipping = $chosen_methods[0];
The value I’m getting appears to be a numerical ID – which looks like the same ID used for each weight based rule I’ve created rather than a simple text based label as per the default WooCommerce shipping methods.
How can I achieve this?
Twitter access token needed updating – nothing wrong with the excellent plugin.
From what I can find out this can happen if the Jquery Cycle script gets fired twice.
Oops spoke too soon.
For some reason the latest version of your plugin causes the other instance of the Jquery cycle to double to number of links it creates for the cycle pager.
https://www.digitalcatapultcentre.org.uk/
See the 3 blank “pager” links one the main banner feature – what’s bizarre is that it doesn’t actually create any extra slides in the cycle – just extra blank cycle pager links.
I’ve tried changing the class on my pager so it’s not using the default class=”cycle-pager”, but that hasn’t made any difference.
Sorry to keep bringing you aggro!
Dan
Hi Martin,
REALLY sorry for not answering sooner.
It’s all working perfectly now.
BTW this is a superb plugin, and saves WP developers from a world off pain setting up the OAuth gubbins for each client.
Thanks again!
Dan
Forum: Plugins
In reply to: [Tools for Twitter] Twitter feeds not downloadingI’m having the same issue. Tweets are not being downloaded automatically and the manual “Download Tweets Now” button isn’t pulling in any posts either?
The Social Proxy has access in Twitter apps, and I’ve enabled my Twitter account on the Twitter Tools settings pages.
Any solutions?
Hi Martin,
Thanks for the tip! I’m now calling jqyery cycle from my functions.php as you suggested
function digitalcatapult_enqueue_script() { wp_enqueue_script('jquery-cycle2',get_template_directory_uri().'/scripts/jquery.cycle2.min.js',array('jquery')); } add_action( 'wp_enqueue_scripts', 'digitalcatapult_enqueue_script' );
However the script still seems to be loading twice on the page – and my slideshow pager is showing twice the number of slides.
If I rename the cycle scripts in your plugin folder then my slideshow works fine, but the tweets driven by your plugin stop scrolling/repeating.
Many thanks
Dan
Hey Martin
Thanks agin for looking into this.
I’m simply adding the cycle2 plugin script in the footer
<script src="<?php bloginfo('template_url'); ?>/scripts/jquery.cycle2.min.js"></script>
So, I’m not using
wp_enqueue_script()
?There are no extra transitions on top
Regards
Dan
Hi Martin
Thanks so much for getting back to me.
It’s not a plugin – it’s a custom theme of my own, where I’m calling the jquery.cycle plugin from the footer.
How do I get RT to use my original instance of the cycle code?
Cheers
Dan
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Form hangs after submitNow solved
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Form hangs after submitProblem solved – looks like it was a conflict with WPCF7 – I turned off the WPCF7 styling option and it now submits fine.
Forum: Fixing WordPress
In reply to: Out of Memoery Error on media uploadHi Paul, thanks again for your help! When I take a look at phpinfo() it’s saying the memory_limit is 90M.
Surely this should be enough?
Dan
I am a plonker – sorry wrong forum ??