jesseslam
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Pages Not to be Cached Still Being Cached on MobilesHi,
I have fixed the issue with the help of some other kind people. My issue was because of the expires caching code in my .htaccess file. Check if you have this in yours and change as per the instructions on my other thread https://wordpress.org/support/topic/removing-items-from-cart-on-mobile-devices/.
I replaced what I had with the code below and this fixed it.
<IfModule mod_headers.c> # 1 YEAR <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|jpg|jpeg|png|gif|swf)$"> Header set Cache-Control "max-age=29030400, public" </FilesMatch> </IfModule>Forum: Plugins
In reply to: [WooCommerce] Removing Items From Cart on Mobile DevicesHi,
Expires caching in .htaccess was indeed causing the issue using your code fixed it and so did removing the javascript and default caching lines, thanks a lot for pointing me in the right direction been pulling my hair out for ages on this it now works as it should.
Many thanks,
James
Forum: Plugins
In reply to: [WooCommerce] Removing Items From Cart on Mobile DevicesI do have browser caching in the .htaccess files as below could that be causing it?
# EXPIRES CACHING #
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 week”
</IfModule>
# EXPIRES CACHING #Forum: Plugins
In reply to: [WooCommerce] Removing Items From Cart on Mobile DevicesHi,
Thanks for trying this out at your end. I have only test this on an iPhone and iPad using Safari and Chrome browsers so yes maybe then it is device specific, which is very annoying. I have also discovered the same issue with another site I host http://www.innovations247.co.uk/ which uses a different theme, WP Supercache but not Cloudflare. Does this sites work for you?
I had the same issue on a desktop and fixed it by telling WP Supercache not to cache the /cart and /checkout pages and this fixed the issue. It seems like it is still caching these pages on mobile devices and ignoring the command not to cache them.
Thanks,
James
Forum: Fixing WordPress
In reply to: Issue With TinyMCE Editor & Google ChromeJust to give an update on this it looks like it happens when I open Photoshop on my PC for some reason this is what is messing up TinyMCE not got a clue why though will have to do more investigation but at least I’ve narrowed down the cause.
Forum: Fixing WordPress
In reply to: Issue With TinyMCE Editor & Google ChromeThanks I do have the latest version of Chrome I checked that. Will give the other suggestions a try and let you know if it works.
Forum: Plugins
In reply to: [RRP for WooCommerce] Hide Text if no price AddedHi Brad,
That’s great thank you for fixing this so quickly. I had actually got help to get the filter code as didn’t think I’d hear back from you. Top job.
Jim
Forum: Plugins
In reply to: [WooCommerce] Custom Text Before Price Hidden if no Price AddedThat’s perfect and works a treat thank you very much.
Can’t believe I’m the first person to need this filter! At least now it’s there for anyone else that needs it.
Forum: Plugins
In reply to: [WooCommerce] Custom Text Before Price Hidden if no Price AddedYes tried it but reverted back to the RRP plugin.
Below is the code I tried
add_filter( 'woocommerce_get_price_html', 'wpa83367_price_html', 100, 2 ); function wpa83367_price_html( $price, $product ){ return 'Was:' . str_replace( '<ins>', ' Now:<ins>', $price ); }Forum: Plugins
In reply to: [WooCommerce] Custom Text Before Price Hidden if no Price AddedI don’t have any snippets or code as yet currently using this plugin https://wordpress.org/plugins/woocommerce-rrp/ which doesn’t do what I need so need the code to not show the wording when no price is added.
Forum: Plugins
In reply to: [WooCommerce] Custom Text Before Price Hidden if no Price AddedI don’t know how to do that really not an expert with PHP coding. Is there somewhere you can point me or show me what the code would be to do this?
Forum: Plugins
In reply to: [WooCommerce] Custom Text Before Price Hidden if no Price AddedHi Mike,
Have thank you but have tried this filter but it doesn’t achieve what I want the text before the price still shows when no price is added.
James
Forum: Plugins
In reply to: [RRP for WooCommerce] Hide Text if no price AddedCan someone help me with this please?
Forum: Plugins
In reply to: [WordPress Full Screen Search Overlay] Suggestion to CSSTop job thanks works a treat. Shame the plugin developer can’t respond and fix the issue.
Forum: Plugins
In reply to: [WC Fields Factory] Admin Fields Not Showing in Front EndHi,
Thanks for adding this but as an update I need this a while ago and as a work around in the end I used Advanced Custom Fields and just added the tags into the single-product/short-description.php template and styled it as I needed.
Jim