VAVA
All posts by PF
logitec g hub not loading
Need to have the logitec g hub on my laptop.
After installing it… a few hours later or some laptop halt, I had to reopen logitc g hub and it wouldn’t load.
Had to re-install it a few times.
Turn out I/we should have auto updates disabled.
Who cares about updates…..
dj falcon blog djfalcon.de
wordpress update 5.9.2 – images issues
On WP 5.9.2 the includes/css/dist/block-library/style.min.css has the following CSS declaration:
html :where(img){ height: auto; max-width: 100% }
You can try to use replace with, the the file or use a plugin for custom css.
html :where(img){ height: auto; max-width: fit-content; }
More readings at
just in case… sometimes, somewhere it happens…
W3 Total Cache – GTmetrix & TTFB


CONFIGURATION – Configurar o Yoast SEO
Interesting

istock – Proibição de Aprendizagem Automática, IA ou Uso de Tecnologia Biométrica
Proibição de Aprendizagem Automática, IA ou Uso de Tecnologia Biométrica. Salvo se expressamente autorizado pela iStock, o licenciado não poderá utilizar conteúdo (incluindo quaisquer informações sobre legendas, palavras‑chave ou outros metadados associados ao conteúdo) para quaisquer fins de aprendizagem automática e/ou de inteligência artificial, nem para quaisquer tecnologias concebidas ou destinadas à identificação de pessoas singulares. Além disso, a iStock não declara nem garante que relativamente a conteúdo dependente de autorizações relativas a direitos de imagem, o referido consentimento tenha sido obtido para tais utilizações.
woocommerce – only sell to specific cities
add_filter( 'woocommerce_form_field_args', 'custom_form_field_args', 10, 3 );
function custom_form_field_args( $args, $key, $value ) {
if ( $args['id'] == 'billing_city' ) {
$args = array(
'label' => __( 'Town / City', 'woocommerce' ),
'required' => TRUE,
'clear' => TRUE,
'type' => 'select',
'options' => array(
'' => ('Select City' ),
'Bangalore' => ('Bangalore' ),
'Mysore' => ('Mysore' )
),
'class' => array( 'update_totals_on_change' )
);
} // elseif … and go on
return $args;
};
And
function wc_sell_only_states( $states ) {
$states['BR'] = array(
'MG' => __( 'Minas Gerais', 'woocommerce' ),
);
return $states;
}
add_filter( 'woocommerce_states', 'wc_sell_only_states' );
As seen on
cloudflare – January 2022 Analytics Snapshot

