cluber22
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Cocktail] Mixed content when adding image on HTTPS siteClosed
Forum: Themes and Templates
In reply to: [Cocktail] Mixed content when adding image on HTTPS siteIgnore me, not a theme issue it was because i wasn’t forcing HTTPS.
Forum: Plugins
In reply to: [WooCommerce] How to override class-wc-breadcrumb.php@stefsternyc Yes the breadcrumb is on and I can see it, however I only want to amend the breadcrumb for one particular page (tags page) and have the normal breadcrumb on my other pages unaffected.
Forum: Plugins
In reply to: [WooCommerce] How to override class-wc-breadcrumb.php@stefsternyc I will review it all in the morning. I am using a paid shopkeeper theme. I appreciate your guidance.
Forum: Plugins
In reply to: [WooCommerce] How to override class-wc-breadcrumb.phpOh right I thought I tried that and it didn’t work. So it doesn’t only apply to files that are in the templates directory?
Thanks
Forum: Plugins
In reply to: [WooCommerce] How to override class-wc-breadcrumb.phpThanks I will read up on this soon.
Although I have reservations about whether I will be able to edit this part of the breadcrumb only, and not the breadcrumb on other areas of the site, but I will read up.
Forum: Plugins
In reply to: [WooCommerce] Getting product price plus taxI think I have resolved it myself using the function:
wc_get_price_to_display($product);
Forum: Plugins
In reply to: [WooCommerce] Getting product price plus taxJust to add, I can get the value 36 using the following:
wc_get_price_including_tax($product);
I just need to know in my plugin, whether to apply the tax or not.
This has now been fixed, the SQL script seem to do the job, adding new
meta_key: amazonS3_info
rows for each image.This is possibly related to: https://github.com/deliciousbrains/wp-amazon-s3-and-cloudfront/issues/51
I will try and understand what the SQL script is doing before blinding running, advice would still be helpful.
Cheers!
Forum: Plugins
In reply to: [Contact Form Clean and Simple] reCAPTCHA v2So I added the wp_footer() hook to the theme and this is now my code https://pastebin.com/NTGCznjb
Why am I needing to add the wp_enqueue_script() calls? How do you have it working without them?
Thanks
Forum: Plugins
In reply to: [Contact Form Clean and Simple] reCAPTCHA v2Okay so I’ve had a look and the issue is in the file class.csfc.php in the function RegisterScripts()
The problem lies in the call to wp_register_script( $handle, $src, $deps, $ver, $in_footer );
You are setting the in_footer as true – “This requires the theme to have the wp_footer() hook in the appropriate place”
So none of these scripts are getting included. Changing $in_footer to false and also adding the appropriate wp_enqueue_script() resolved the issue.
Forum: Plugins
In reply to: [Contact Form Clean and Simple] reCAPTCHA v2Missing the script include for https://www.google.com/recaptcha/api.js?
Forum: Plugins
In reply to: [Contact Form Clean and Simple] reCAPTCHA v2It was a permissions problem on the server, that is now fixed however the reCAPTCHA doesn’t display.
<div class="control-group form-group"> <div id="recaptcha_div"> <div class="g-recaptcha" data-theme="light" data-sitekey="6LdhMQkTAAAAAMRECNGrAIv2uFqwm-3bhQxxxUNI"></div> <div for="cscf_recaptcha" class="help-block has-error error"></div> <noscript> <div style="width: 302px; height: 422px;"> <div style="width: 302px; height: 422px; position: relative;"> <div style="width: 302px; height: 422px; position: absolute;"> <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LdhMQkTAAAAAMRECNGrAIv2uFqwm-3bhQxxxUNI" frameborder="0" scrolling="no" style="width: 302px; height:422px; border-style: none;"> </iframe> </div> <div style="width: 300px; height: 60px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;"> <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;"> </textarea> </div> </div> </div> </noscript> </div> </div>
Forum: Plugins
In reply to: [Contact Form Clean and Simple] reCAPTCHA v2Hi Meg,
Just tried to get this working and now my page is just displaying the tag [cscf-contact-form] as text
Example: https://www.vickhope.com/contact/
Something simple I’m missing here?
Cheers