Tony Bellardi
Forum Replies Created
-
Forum: Plugins
In reply to: [Login Logo] Doesn’t work anymore with WP 6.7/**
* Sostituisci il logo nella pagina di login di WordPress
*
* Cambia il logo predefinito con un'immagine personalizzata
*/
add_action('login_head', 'custom_login_logo');
function custom_login_logo() {
?>
<style>
.login h1.wp-login-logo a {
background-image: url('https://www.publicmusic.it/wp-content/login-logo.png') !important;
background-size: contain !important;
width: 100% !important;
height: 84px !important;
display: block;
text-indent: -9999px;
}
</style>
<?php
}code snippet
Forum: Plugins
In reply to: [Login Logo] Doesn’t work anymore with WP 6.7me too
Forum: Plugins
In reply to: [Log in with Google] REDDIT AUTOLOGINi try this:
function auto_login_google_script() {
?>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
const googleLoginButton = document.querySelector('.wp_google_login__button');
const hasClicked = localStorage.getItem('hasClickedGoogleLogin');
// Contatore per i tentativi di login
let loginAttempts = 0;
const maxAttempts = 2; // Limite massimo di tentativi di login
// Funzione per tentare il login
function attemptLogin() {
if (googleLoginButton && loginAttempts < maxAttempts) {
console.log('Pulsante di login Google trovato, cliccando...');
googleLoginButton.click();
localStorage.setItem('hasClickedGoogleLogin', 'true');
// Rimuovi il pulsante di login dal DOM
googleLoginButton.remove();
// Incrementa il contatore di tentativi
loginAttempts++;
} else if (loginAttempts >= maxAttempts) {
console.log('Limite massimo di tentativi di login raggiunto.');
} else {
console.log('Clic sul pulsante di login Google già eseguito.');
}
}
// Iniziare il tentativo di login
attemptLogin();
// Supponendo che ci sia un modo per verificare se l'utente è loggato
const isLoggedIn = false; // Sostituisci con la tua logica per verificare se l'utente è loggato
if (isLoggedIn) {
console.log('Utente già loggato.');
}
});
</script>
<?php
}
// Aggiungi lo script nel <head>
add_action('wp_head', 'auto_login_google_script');work but loop ??
Forum: Plugins
In reply to: [Stop and Block bots plugin Anti bots] hi there.. it is all ok ?Bill posso per caso scrivere in Italiano ? cosa vuol dire accedi oggi stesso alla dashboard per attivare le statistiche ? manca qualche procedura ? non capisco…
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] Too much visits !!Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] Too much visits !!Can anyone help me? Isn’t it possible? Is there also analytics on the site? 1,000 visitors in a month? MAYBE.. let’s be serious.
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] I can’t loginok now work thanks
Forum: Plugins
In reply to: [Site Kit by Google - Analytics, Search Console, AdSense, Speed] ShortcodeI understand that Site Kit does not provide any shortcodes, and I appreciate that information. However, I am specifically looking for functionalities within Site Kit, not alternatives or shortcodes available in WordPress itself.
Therefore, the mention of WordPress shortcodes feels unnecessary for my inquiry since my focus is solely on what Site Kit offers.
If you have any specific information or support related to Site Kit, that would be much more relevant to my needs.
Feel free to modify it as you see fit!
no thanks ツ
it’s a pleasure…
try using the translator.
I have structured my site in such a way that every new member (via Google login) becomes a publisher as a role in WordPress, this is because they will be able to post articles directly from the frontend, attaching files that they find in their media, but will not have access to any administration bar and no backend, for this reason I was equally pleased that the publisher could see the statistics exactly like me but always in the frontend.Forum: Plugins
In reply to: [Site Kit by Google - Analytics, Search Console, AdSense, Speed] Shortcodesorry there are a short codes for page and posts ?
Forum: Plugins
In reply to: [SEO Backlink Monitor] thanks for helpForum: Plugins
In reply to: [SEO Backlink Monitor] thanks for helpi must add link ?
Forum: Plugins
In reply to: [LA-Studio Element Kit for Elementor] refresh = 1 count :(you have disabled a post counter ?
Forum: Plugins
In reply to: [LA-Studio Element Kit for Elementor] refresh = 1 count :(sorry don’t understand.. now the counter don’t work after upgrade from Versione 1.3.9.3 to versione 1.3.9.8?
- This reply was modified 2 months, 1 week ago by Tony Bellardi.