Dariusz
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Unable to wp_dequeue_script prettyPhotoInteresting, thank you.
Will investigate from there over the week.Forum: Plugins
In reply to: [WooCommerce] Unable to wp_dequeue_script prettyPhotoYou can close it as don’t think I will get a support here apart of pointing to pay something to do something that should not be needed.
As I think about it, WooCommerce is not great when used as a subpart of the main page as wasting resources of the whole website when they shall be only loaded where they are needed.
It’s much better to rethink need to use WooCommerce altogether or splitting it into different WordPress installation.
Forum: Plugins
In reply to: [WooCommerce] Unable to wp_dequeue_script prettyPhotoNo.
Forum: Plugins
In reply to: [WooCommerce] Unable to wp_dequeue_script prettyPhotoSame issue here. Going into WooCommerce Dashboard landing in BING plugin.
Forum: Themes and Templates
In reply to: [Refur] End of Life?Forum: Fixing WordPress
In reply to: Image in Header / media in header not showing on some themesFor anybody interested.
Sorted above issue by adding
setlocale(LC_NUMERIC, 'en_US.UTF-8');.There are couple methods to add that. To theme, child theme or by simply creating a mu-plugin (Must Use). mu-plugin looks more universal hence I create above, saved into php file and placed in mu-plugins folder in wp-content.
<?php setlocale(LC_NUMERIC, 'en_US.UTF-8'); ?>This sort issue not only with this theme but also others.
Forum: Fixing WordPress
In reply to: Image in Header / media in header not showing on some themesAfter investigating on two different hostings found where the issue stand.
The theme (this and others) uses opacity value dynamically set through customizer.
Local environment of the website is Polish and it convert value of 50 to 0,5 which is incorrect for CSS as CSS require dot 0.5 not comma 0,5.
Thats due to changes in PHP 7.3.17+ hence it look like themes are not compatible with that feature or doesn’t have implemented options to correctly interpret numbers.
Will need to look workaround rather than relaying on modifying themes.
Forum: Fixing WordPress
In reply to: Image in Header / media in header not showing on some themesNot only I turn off all plugins, but I also remove all of them (apart of Defender). Then I clean the database from unused tables.
I removed all the cache’s but still nothing. I think this is maybe it’s still somewhere deep in wp_options table.
So I search for my Header Image in SQL database.
Started with theme_mods_ and removed all related to plugins that I am not using along with the current.
Reinstalled WordPress on top of current and still header image not showing.
Really annoying!
I think because the site is not big, I will re-set the database in full and re-set the whole website, restoring only theme and wp_posts and will see if that will sort the issue.
Forum: Fixing WordPress
In reply to: Image in Header / media in header not showing on some themesThanks for the response.
Installed fresh WordPress and noticed that image is working. Yep, it’s strange.PHP is in 7.4 version. Will be playing with remaining plugins to see where compatibility issue stand, but can confirm that is not strictly WordPress.
@optimizingmatters ?ao_noptimize=1 not making any difference, but I got also other plugins there, hence will go back to the drawing board and start one-by-one, hope will find the cause.
Forum: Plugins
In reply to: [WooCommerce Square] Users Cannot Enter Credit Card InfoIt’s loading on mine when tried now.
I got that same issue on our company website. this was due to Cache plugin and Autoptimize which require simply to exclude frontend asset wc-square.min.js from optimisation.Forum: Plugins
In reply to: [WooCommerce Square] Square Payment Form JS loading on every pageBased on a couple of people works I put in place following plugin to disable WooCommerce Square plugin on pages that doesn’t belong to WooCommerce part.
My WooCommerce is placed under /shop/ slug (including checkout /shop/checkout/), hence this plugin unload square plugin on every page that is not in /shop/ URI. If you got placed in different slug, change before putting in place.
Testing needed, anybody interested?
ps. the plugin is excluded on Admin pages, hence better to do checks when logged out. Also, file need to be placed in wp-content/mu-plugins folder.
- This reply was modified 5 years, 10 months ago by Dariusz.
Forum: Plugins
In reply to: [WooCommerce Square] Square Payment Form JS loading on every page@madeincosmos @nixiack8 anything to add?
Forum: Plugins
In reply to: [SyntaxHighlighter Evolved] & amp instead && in codeThank you. It didn’t work with my environment. Wiggled with plugins but there are also caching happening, hence too many variations that can be involved. Didn’t really want to add a function to the theme to add this functionality of the plugin hence decided to deactivate it for now and keep using Gutenberg Code block.
btw. Great plugin, works well for my purpose for a significant time.
Maybe in future, if I will need something more, I will come back to it. Hopefully, somebody will find a solution without need of adding function to a theme.
Forum: Plugins
In reply to: [WooCommerce Square] Square Payment Form JS loading on every page@madeincosmos @nixiack8 any update on this?