### WordPress Internationalization Setup Source: https://www.tasarimimarlik.com.tr/imar-barisi-hesaplama-tablosu/ Bu JavaScript kodu, WordPress'in uluslararasılaştırma (i18n) özelliklerini ayarlar. Belirli bir metin alanının yönünü (ltr - soldan sağa) tanımlar ve 'contact-form-7' eklentisi için çeviri verilerini yükler. ```javascript /* */ ``` ```javascript /* 1;","lang":"tr"},"This contact form is placed in the wrong place.":["Bu ileti\u015fim formu yanl\u0131\u015f yere yerle\u015ftirilmi\u015f."],"Error:":["Hata:"]}},"comment":{"reference":"includes\/js\/index.js"}} ); /* ]]> */ ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/bina-icinin-projesinin-cizilmesi/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Custom Margin and Padding Utility Source: https://www.tasarimimarlik.com.tr/3d-bina-modelleme-tasarim/ Applies custom margin and padding values to specific elements, often used for fine-tuning layout in page builders or specific sections. The example shows zeroing out margins and paddings for a particular class. ```CSS .vc_custom_1615676434410{margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;} .vc_custom_1615676601241{margin-top: 0px !important;} ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/rolove-almak/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### JavaScript Local Storage Helper Functions Source: https://www.tasarimimarlik.com.tr/imar-barisi-basvuru-formu/ Provides utility functions for interacting with the browser's local storage. Includes methods for setting, getting, and removing key-value pairs, with basic error handling. ```javascript /* * @param {string} key * @param {string} value */ function set(key, value) { try { localStorage.setItem(key, value); } catch (e) { console.error("Error setting item in localStorage:", e); } } /* * @param {string} key * @returns {string|null} */ function get(key) { try { return localStorage.getItem(key); } catch (e) { console.error("Error getting item from localStorage:", e); return null; } } /* * @param {string} key */ function remove(key) { try { localStorage.removeItem(key); } catch (e) { console.error("Error removing item from localStorage:", e); } } ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/oto-galeri-mimari-cizim/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/is-guvenligi-csgb-rolove-cizimi/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/imar-barisi-basvurusu/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/kentsel-donusum-kucukcekmece/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/tadilat-dekorasyon-mimarlik-hizmetleri/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/bilgisayar-tabanli-fotograflar/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/bina-icinin-projesinin-cizilmesi/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/bilgisayar-tabanli-fotograflar/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/tadilat-dekorasyon-mimarlik-hizmetleri/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/oto-galeri-mimari-cizim/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/imar-barisi-basvurusu/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/is-guvenligi-csgb-rolove-cizimi/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/kentsel-donusum-kucukcekmece/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/acil-durum-tahliye-plani-tasarimi-ve-cizimi-hizmeti/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/rolove-almak/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### jQuery and WOW.js Initialization Source: https://www.tasarimimarlik.com.tr/imar-barisi-hesaplama-tablosu/ Bu JavaScript kodu, jQuery kütüphanesini ve WOW.js animasyon kütüphanesini başlatır. Sayfa hazır olduğunda WOW.js'in animasyonlarını etkinleştirir, bu da sayfa üzerindeki öğelerin animasyonlu bir şekilde görünmesini sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() {'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### Prefetch Configuration Strategy Source: https://www.tasarimimarlik.com.tr/acil-durum-tahliye-plani-tasarimi-ve-cizimi-hizmeti/ Bu yapılandırma, web uygulamasında kaynakların önbelleğe alınması (prefetching) için bir strateji tanımlar. Belirli URL desenlerini ve seçicileri hariç tutarak kaynakların ne zaman ve nasıl önbelleğe alınacağını belirler. ```APIDOC {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### jQuery Initialization and WOW.js Animation Source: https://www.tasarimimarlik.com.tr/kucukcekmece-halkali-mimarlik-ofisi/ Bu JavaScript kodu, jQuery kütüphanesini başlatır ve WOW.js kütüphanesini entegre ederek masaüstü ve mobil cihazlarda animasyonlu kaydırma efektlerini etkinleştirir. Sayfa yüklendiğinde animasyonların başlamasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() { 'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### Resource Prefetch Configuration Source: https://www.tasarimimarlik.com.tr/imar-barisi-hesaplama-tablosu/ Bu JSON yapısı, web tarayıcısının sayfa yüklenmeden önce belirli kaynakları önbelleğe almasını (prefetch) sağlamak için yapılandırılmıştır. Belirtilen URL desenlerine uymayan ve 'no-prefetch' sınıfına sahip olmayan bağlantılar hedeflenir. ```json {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/","\/wp-content\/uploads\/","\/wp-content\/","\/wp-content\/plugins\/","\/wp-content\/themes\/archi\/","\/\*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} ``` -------------------------------- ### jQuery ve WOW.js Entegrasyonu Source: https://www.tasarimimarlik.com.tr/rolove-kroki-cetveli-plan-cizimi/ Web sitesinde animasyonları etkinleştirmek için jQuery ve WOW.js kütüphanelerini başlatan JavaScript kodudur. Sayfa hazır olduğunda WOW.js'in başlatılmasını sağlar. ```javascript window.jQuery = window.$ = jQuery; (function($) { "use strict"; /* Enable/Disable Animate Scroll on Desktop and Mobile */ jQuery(document).ready(function() {'use strict'; new WOW().init(); }); })(jQuery); ``` -------------------------------- ### WordPress Emoji Support Initialization Source: https://www.tasarimimarlik.com.tr/rolove-kroki-cetveli-plan-cizimi/ Initializes emoji support by checking browser capabilities and loading necessary scripts. It uses Promises and Web Workers for asynchronous testing and optimization of emoji rendering. ```javascript function t(e){var t=s.createElement("script");t.src=e,t.defer=!0,s.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",i=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0}),e=new Promise(function(e){s.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()