Smooth Scrolling for Anchor Links

document.addEventListener(‘click’, function(e) { // Check if the clicked element is an anchor with href starting with ‘#’ if (e.target.tagName === ‘A’ && e.target.getAttribute(‘href’) && e.target.getAttribute(‘href’).startsWith(‘#’)) { e.preventDefault(); const targetId = e.target.getAttribute(‘href’).slice(1); // Remove the ‘#’ from the href const targetElement…Continue reading

Houfy

<iframe style=”overflow:hidden;display:block;margin:0 auto;width:100%;max-width:400px;min-height:600px;border:none” src=”https://www.houfy.com/embed/Listing Number/pricing” frameborder=”0″></iframe>Continue reading

Admin Giriş Url’sini Değiştir

// Giriş URL’sini değiştir function custom_login_url() { return home_url(‘/panel/’); // Buraya yeni giriş URL’nizi yazın } add_filter(‘login_url’, ‘custom_login_url’); // WordPress login sayfasını yeni URL’ye yönlendirme function custom_login_redirect() { if (strpos($_SERVER[‘REQUEST_URI’], ‘wp-login.php’) !== false) { wp_redirect(home_url(‘/panel/’)); // Buraya yeni giriş URL’nizi…Continue reading