gore.m
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How to change logo src via function?Cool, thanks you very much!
Forum: Developing with WordPress
In reply to: How to change logo src via function?It was what I exactly needed – to simplified that .-)
I tried rework your code to my needs, it works, but I would like to ask you to check it if it is right ??
Thanks youadd_filter( 'get_custom_logo', 'my_alter_logo_fx', 10, 2 ); function my_alter_logo_fx( $html, $blog_id ) { $url = home_url('/'); $whitelogo = home_url( $path = 'images/logo_white.svg'); if ( is_front_page() ) { $html = sprintf( '<a href="%1$s" class="custom-logo-link" rel="home"><img src="%2$s" class="custom-logo" alt="Logo white" height="28" width="125"></a>', $url , $whitelogo ); } return $html; }
Forum: Developing with WordPress
In reply to: How to change logo src via function?@littlepackage Thanks you very much, it works!
I was trying this function, but it was beyond my knowledge, I couldn’t get it work.
I have one question, Is it (in your function) everything escaped?
Thanks youForum: Plugins
In reply to: [Error Log Monitor] Unknown column ‘kp4_’ in ‘field list’Strange was, that this error show up only one times (after your plugin installation and my first look at the dasboard), I cleared log and than it won’t appear again.
I’m not sure about theme right know, but I think it was 99% default theme, because I didn’t have installed necessary plugins yet.Forum: Plugins
In reply to: [Error Log Monitor] Unknown column ‘kp4_’ in ‘field list’Thanks you
My PC crash and problems with database was another problem (not related to this topic).
Error I’m talking here about is on fresh WP install only with your plugin installed and without any content added.Forum: Fixing WordPress
In reply to: Unknown column ‘kp4_’ in ‘field list’…??Thanks you.
I have setdefine( 'WP_DEBUG', true );
but this error was not shown anywhere ( on front end/back end ), only “Error log monitor” informed me about that.
I was working on another installation earlier that day and because my PC suddenly crashed during saving WP settings, I’ve got a lots of database errors, but again it was not shown anywhere, only “Error log monitor” informed me about that… so question really is: Do I really need such a plugin in a localhost installation?
Is it true thatdefine( 'WP_DEBUG_DISPLAY', true );
is default, or missed I something how to output database errors?
Thanks youHello @sergeyr-1,
I can’t post on wpml.org cause I have only affiliate license key.May I know which latest version of WooCommerce Min/Max Quantities is supported?
Thanks you
Thanks you @sergeyr-1 I forget to mention that it is causing with all templates (Twenty Seventeen included).
Thanks you
TomThanks you very much @pomegranate, I very appreciate your help!
You are awesome, it works! .-)
What did you mean by “hacky territory” :-)))? Do you think, that would be “safer” to edit template?Hi Ewout,
Thanks you for your reply!You are right that my question is more Woocoommerce / Local Pickup issue, so I decided to go back to my jQuery solution and work on it.
There was an misunderstanding by “shipping title”, I was talking about this template lines:<h3><?php _e( 'Ship To:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
and this<?php _e( 'Shipping Address:', 'woocommerce-pdf-invoices-packing-slips' ); ?>
because if local pickup has been chosen ‘Ship To:’ and ‘Shipping Address:’ is not right, more logical would be “Recipient”. Is it possible to change it dynamically?Thanks you
Hi @wfgerald,
thanks you for your reply. Yes, you are right, but… from my point of view… it would be cool to has a function, to block such IP immediately / automatically, … rather than wait if they will have success :-)… with easy logic: Are you trying to do something wrong here? OK, you are banned/not allowed…Hi @wfgerald
Thanks you for your reply!
I see, I didn’t know that.
If I’m right there is not setting to automatically block that IPs for some time… so is it possible to do it via function?
Thanks youSame here! Crazy…
Thanks you