John McCarthy
Forum Replies Created
-
Hi Quaglia37,
the first thing you would need to look at is optimising the loading speed of your site.
You can check you site here -> https://gtmetrix.com/
Drop your site URL in the box there and the site will tell you the area’s that you could improve upon.
I can see your images have been optimised so perhaps you may see an improvement when using a caching plugin. A quick search online will give you plenty of results for the best plugins to use.
There is also an single purpose lazy loading plugin that may help you -> https://en-gb.wordpress.org/plugins/lazy-load/
I found this didn’t solve the other major page loading issues but it may solve yours.
If need more in-depth assistance, let me know, I’d be happy to help.
Good luck!
Hi Dave,
thanks for getting back to me.
In the end after having a deeper look a deeper look at the site and running some diagnostics it was clear the site needed optimising for loading speed in general.
After enabling lazy loading in the already installed plugin and various other optimisations the slide did load as it should. But I did still have to edit the CSS of the container to keep it locked in height before the site loaded.
Here’s the result so far -> Site
Cheers
Forum: Themes and Templates
In reply to: WooThemes Storefront – Change header cart checkout linkI forgot to mention… You’ll most likely need to log out, clear your browser cache and log back in to see the changes.
Forum: Themes and Templates
In reply to: WooThemes Storefront – Change header cart checkout linkHi deanMKD,
I did resolve this issue, since the latest release you can now replace this via a new function just for the mini-cart buttons. The change happens in WooCommerce but of course you’d call it from your plugin or theme.
See wp-content/plugins/woocommerce/includes/wc-template-functions.php and line 1412 for the function. It’s wrapped in a condition which essentially means it’ll take your version before the WooCommerce one if it exists.
In your functions file you can add the following.
/** * @subpackage Cart */ function woocommerce_widget_shopping_cart_proceed_to_checkout() { echo '<a href="Add your link here" class="button checkout wc-forward">' . __( 'Checkout', 'woocommerce' ) . '</a>'; }For example if you were calling this function from your themes functions.php file, you could link to another page on your site using the following.
/** * @subpackage Cart */ function woocommerce_widget_shopping_cart_proceed_to_checkout() { ?> <a href="<?php //get_stylesheet_directory_uri();?>/your-site-page/" class="button checkout wc-forward"><?php _e( 'Checkout', 'woocommerce' ); ?></a> <?php }Hope this helps
Working great so far Robin, thanks.
I’m testing on the latest version of WP and Genesis, using a customised version of the latest Genesis Sample Theme and all is well!
Excellent Robin, I’ll head over and try it out now 🙂
I’ll let you know how we get on, cheers!
Hey Robin, thanks taking to time reply 🙂 and, you’re welcome, I’m glad it’s something you’d consider!
I also got the exact same as @adithyashetty, after installing the plugin from WordPress.org yesterday.
Hi thanks for your reply,
I am using the get free key button. It is the http://www.staging14.camplight.co.uk site that I’m most concerned about at the moment.
I’ll contact you directly. Thanks very much.
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Phone number formattingHi, just as a follow up to this.
If there is a custom option, shouldn’t this enable you set a custom input mask, or am I miss-understanding the custom option?
I too am very happy with this plug and to have found this to by the only thing that has me stumped.
I can use a text field but, if there’s number field with an option to set a custom input mask, shouldn’t we be using that?
It’d be great to hear what your opinion on this is.
Thanks,
John
Forum: Plugins
In reply to: [Genesis Responsive Slider] Use of Misnamed ConstantGetting this error too.
Would be great if this could be included in the next update.
Forum: Plugins
In reply to: [Five Star Restaurant Reviews] Replace the print reviews function in themeThanks Nate,
that’s what I hoped. All good for now, as you said works just like template override.
I really appreciate your help, all the best with everything.
Forum: Plugins
In reply to: [Five Star Restaurant Reviews] Replace the print reviews function in themeHi Nate,
Thanks for this, I understand, again the plugin is great. If I could help I would but I feel my developer skills are still a bit under par to do so.
None the less, I do plan to use the plugin for my clients and personal projects and therefore see myself customising at least the output and style quite a bit. If there is anything I can foresee my assistance being beneficial, I’ll give you a shout 🙂
As for using the filter; hopefully I’ve got this right. I’d call the filter on my function with a value of true and ensure that I return $output. I would essentially just copy the original template and re-order elements.
When the check
if ( $output !== false ) {returns true it returns my function rather than carrying on within the original template function to return the original output.It’s taken me some time to wrap my head around filters, I haven’t fully mastered all scenarios. Any guidance would be appreciated.
Cheers
Forum: Plugins
In reply to: Saving data to WooCommerce sessionIt was setting the data, I was just called the var_dump in the wrong place.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce – Split check out process to two pagesOkay some edits… I’m sure I had these totally wrong.
The form action shouldn’t be processed by checkout, but rather a custom file?
And in that file is where I should have the flow from the
set_and_save_input_to_sessionfunction?