Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the xpress-core domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/dreampix/public_html/wp-includes/functions.php on line 6170

Deprecated: Creation of dynamic property Sinatra::$options is deprecated in /home1/dreampix/public_html/wp-content/themes/sinatra/functions.php on line 140

Deprecated: Creation of dynamic property Sinatra::$fonts is deprecated in /home1/dreampix/public_html/wp-content/themes/sinatra/functions.php on line 141

Deprecated: Creation of dynamic property Sinatra::$icons is deprecated in /home1/dreampix/public_html/wp-content/themes/sinatra/functions.php on line 142

Deprecated: Creation of dynamic property Sinatra::$customizer is deprecated in /home1/dreampix/public_html/wp-content/themes/sinatra/functions.php on line 143

Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 46

Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 47

Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 46

Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 47

Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 46

Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 47

Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 46

Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 47

Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 46

Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 47

Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 46

Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home1/dreampix/public_html/wp-content/plugins/xpress-core/lib/codestar-framework/classes/metabox-options.class.php on line 47

Warning: session_start(): Session cannot be started after headers have already been sent in /home1/dreampix/public_html/wp-content/plugins/multidots-passkey-login/multidots-passkey-login.php on line 179

Warning: Cannot modify header information - headers already sent by (output started at /home1/dreampix/public_html/wp-includes/functions.php:6170) in /home1/dreampix/public_html/wp-content/plugins/pwa-for-wp/service-work/class-pwaforwp-service-worker.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home1/dreampix/public_html/wp-includes/functions.php:6170) in /home1/dreampix/public_html/wp-content/plugins/pwa-for-wp/service-work/class-pwaforwp-service-worker.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home1/dreampix/public_html/wp-includes/functions.php:6170) in /home1/dreampix/public_html/wp-content/plugins/pwa-for-wp/service-work/class-pwaforwp-service-worker.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at /home1/dreampix/public_html/wp-includes/functions.php:6170) in /home1/dreampix/public_html/wp-content/plugins/pwa-for-wp/service-work/class-pwaforwp-service-worker.php on line 248
var swsource = "https://dreampix.work/pwa-sw.js"; function PWAforwpreadCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(";"); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==" ") c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } if("serviceWorker" in navigator) { window.addEventListener('load', function() { navigator.serviceWorker.register(swsource, {scope: 'https://dreampix.work/'}).then(function(reg){ console.log('Congratulations!!Service Worker Registered ServiceWorker scope: ', reg.scope); }).catch(function(err) { console.log('ServiceWorker registration failed: ', err); }); var deferredPrompt; window.addEventListener('beforeinstallprompt', (e) => { deferredPrompt = e; if(deferredPrompt != null || deferredPrompt != undefined){ var a2hsviashortcode = document.getElementsByClassName("pwaforwp-sticky-banner"); var isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent); if(a2hsviashortcode !== null && checkbarClosedOrNot() && (typeof pwa_cta_assets !== 'undefined') && (pwa_cta_assets.a2h_sticky_on_desktop_cta==1 || isMobile)){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="flex"; } } } }); function checkbarClosedOrNot(){ var closedTime = PWAforwpreadCookie("pwaforwp_prompt_close"); if(closedTime){ var today = new Date(); var closedTime = new Date(closedTime); var diffMs = (today-closedTime); var diffMins = Math.round(((diffMs % 86400000) % 3600000) / 60000); /* minutes*/ if(diffMs){/*diffMins<4*/ return false; } } return true; } /* Safari 3.0+ "[object HTMLElementConstructor]" */ var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification)); if( isSafari ){ var a2hsviashortcode = document.getElementsByClassName("pwaforwp-add-via-class"); if(a2hsviashortcode !== null){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="inline-block"; } } var a2hsviashortcode = document.getElementsByClassName("pwaforwp-sticky-banner"); var isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent); if(a2hsviashortcode !== null && checkbarClosedOrNot() && (typeof pwa_cta_assets !== 'undefined') && (pwa_cta_assets.a2h_sticky_on_desktop_cta==1 || isMobile) ){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="flex"; } } } var a2hsviashortcode = document.getElementsByClassName("pwaforwp-add-via-class"); if(a2hsviashortcode !== null){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].addEventListener("click", addToHome); } } window.addEventListener('appinstalled', (evt) => { var a2hsviashortcode = document.getElementsByClassName("pwaforwp-add-via-class"); if(a2hsviashortcode !== null){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="none"; } } var a2hsviashortcode = document.getElementsByClassName("pwaforwp-sticky-banner"); if(a2hsviashortcode !== null){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="none"; } } var addtohomeBtn = document.getElementById("pwaforwp-add-to-home-click"); if(addtohomeBtn !==null){ addtohomeBtn.style.display="none"; } }); function addToHome(){ if(!deferredPrompt){return ;} deferredPrompt.prompt(); deferredPrompt.userChoice .then((choiceResult) => { if (choiceResult.outcome === "accepted") { document.getElementById("pwaforwp-add-to-home-click").style.display = "none"; var a2hsviashortcode = document.getElementsByClassName("pwaforwp-add-via-class"); if(a2hsviashortcode !== null){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="none"; } } var a2hsviashortcode = document.getElementsByClassName("pwaforwp-sticky-banner"); if(a2hsviashortcode !== null){ for (var i = 0; i < a2hsviashortcode.length; i++) { a2hsviashortcode[i].style.display="none"; } } console.log("User accepted the prompt"); } else { console.log("User dismissed the prompt"); } deferredPrompt = null; }); } var offline_message = '0' if (offline_message == 1) { window.addEventListener("offline", pwaforwpOnNetworkChange); } function pwaforwpOnNetworkChange(event) { if (!navigator.onLine) { var a2hsdesk = document.getElementById("pwaforwp-add-to-home-click"); if(a2hsdesk !== null){ a2hsdesk.style.display = "none"; } var html = '
You are currently offline
'; if(document.getElementsByClassName('pwa-offmsgwrcss').length==0){ document.body.innerHTML += html; } setTimeout(function(){ if(document.getElementsByClassName('pwa-offmsgwrcss').length){ document.getElementsByClassName('pwa-offmsgwrcss')[0].remove(); } if(document.getElementsByClassName('pwa-offmsgwr').length){ document.getElementsByClassName('pwa-offmsgwr')[0].remove();} }, 3000); }else{ if(document.getElementsByClassName('pwa-offmsgwrcss').length){document.getElementsByClassName('pwa-offmsgwrcss')[0].remove(); document.getElementsByClassName('pwa-offmsgwr')[0].remove();} } } if( window.matchMedia('(display-mode: standalone)').matches ){ var appContent = document.getElementsByClassName('pwaforwp-app-contents'); for(var i=0; i