ANo.1
Forum Replies Created
-
[10-Apr-2018 18:40:51 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wc_loop_shop_columns' not found or invalid function name in /hosting/www/lfots.com/prize/wp-includes/plugin.php on line 235 [10-Apr-2018 18:40:52 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'custom_storefront_credit' not found or invalid function name in /hosting/www/lfots.com/prize/wp-includes/plugin.php on line 525 [10-Apr-2018 18:42:12 UTC] PHP Fatal error: Call to private method WC_Geolocation::get_local_database_path() from context 'WCPBC_Admin_Notices' in /hosting/www/lfots.com/prize/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/admin/class-wcpbc-admin-notices.php on line 238
Hi, I was trying to enable the debug log, but I didn’t find that option in wp-config, nor anywhere else. Shall I add
define( 'WP_DEBUG_LOG', true );
in the wp-config?`
YES! Thank you Tomas. When I have finished the whole translation I will gladly share it.
Forum: Plugins
In reply to: Woocommerce – Adding space between and under productsHi,
This works for me in storefront woocommerce.
This is how you custom space around the product photos:ul.products li.product img { display: block; margin: 1em 0em 0em 1em; }
Just play with the margin numbers, it goes clockwise: top, right, bottom….
and this is how you customize the space between products:
.site-main ul.products li.product { width: 29.4117647059%; float: left; margin-right: 2.8823529412%; }
play with the margin-right number.
You put this css code into your style.css file
I hope I am right and hope that helps.
Forum: Fixing WordPress
In reply to: duplicate title tags after changing category slugThanks Peter,
You are right, ANYTHING works there.
So to prevent googlebot from indexing through the old category slug I should learn to disallow it with robots.txt, is that right?
Will the following do the job?User-agent: Googlebot Disallow: /vse/
Thanks again
Forum: Themes and Templates
In reply to: [Storefront] How to specify CSS code to only apply to homepageOk, it seems this thread doesn’t make much sense, sorry for that. I forgot to say that it is a woocommerce page. Finally I solved it with changing .page-description right in woocommerce.css, hoping to remember it after an update (solving the overriding problems in child-theme is beyond my skills at the moment.)
Forum: Themes and Templates
In reply to: [Storefront] How to specify CSS code to only apply to homepageWell after a whole day I am much more educated. However, from how I understood it, this should work, and it doesn’t
p.site-main { width: 150%; }
Can anyone explain to me why not?
Forum: Themes and Templates
In reply to: [Storefront] How to specify CSS code to only apply to homepageThank you mrtom414,
Do I add this also to my style.css? It doesn’t work, when I do.Forum: Themes and Templates
In reply to: [Storefront] Remove space between Header and sliderThis worked for me:
.header-widget-region { display: none; }
Only now the breadcrumbs moved to the right for some reason. I moved them back to the left by adding this
.woocommerce-breadcrumb { width: 280px; }
Forum: Themes and Templates
In reply to: [Storefront] Remove space between Header and sliderHi,
I am just trying to solve this at the moment too. The thing is that the margin already is 0, so that CSS code doesn’t change anything. The space seems to be called header-widget-region. I think the question is how to get rid of this region, or make it smaller.
Will get back, if luckier.Forum: Themes and Templates
In reply to: footer.php from child teme doesn't workSorry for that. For anyone interested in the topic follow here
Forum: Themes and Templates
In reply to: Child theme – enqueue css?? Cheers!
Forum: Themes and Templates
In reply to: How to translate the template mystile with PoeditOk, so it works, when you put it in wp-content/languages/themes as advised here
Only it takes more time for Firefox to notice it, which was confusing.Forum: Themes and Templates
In reply to: How to translate the template mystile with PoeditThe very same problem here (even for the same language). Please let me know if you figured it out in those past 2 months.
I’ll do the same, if i resolve it.
DíkForum: Plugins
In reply to: how to make plugin translation workOk, two days later and a bit wiser.
So in reply to my own question: it has to be a .mo file which is generated automatically together with the .po one in poEdit. And you need to upload that to wp-content/languages/plugins and the name of it should be according to these instructions:
Put your custom WooCommerce translations in your WordPress language directory, located at: WP_LANG_DIR . “/woocommerce/{$textdomain}-{$locale}.mo”;
I had no idea at first, but this explains it.
So name it woocommerce-de_DE.mo or whatever your language is. Also you need to change the general WP settings to that language.
Well this is the first time I’ve been advising someone on a wp forum. (doesn’t matter it was to myself, feels good:)