❌

Reading view

Custom login page in different browsers

My wp website is domain.com/wp, my custom login page title is tesa it contains the Login & Register Customizer plugin shortcode, if I type my website url in firefox it loads the tesa page and login pop up and url will be domain.com/wp/tesa, if ido the same in incoginot it loads the custom page login popup but the url remains domain.com/wp . if I load tesa page in a standard chrome while logged in my website, tesa page is blank.

it can't be the plugin , what is it?

submitted by /u/Sure_Strike9872
[link] [comments]
  •  

How can I hide sections of a page to users other than windows visitores on wordpress?

I have a page with an artical, at the bottom of that page I would like to post an image with a link that useres visiting the page on mobile devices or desktops other than windows don't see. I tried a JavaScript snippet but it returns an error in functions.php when trying to save it.

the snippet:

document.addEventListener("DOMContentLoaded", function() {

const isWindows = navigator.platform.indexOf("Win") !== -1 || navigator.userAgent.indexOf("Windows") !== -1;

if (isWindows) {

const targetElement = document.getElementById("windows-only-content");

if (targetElement) {

targetElement.style.display = "block";

}

}

});

how can i get a better solution?

submitted by /u/Sure_Strike9872
[link] [comments]
  •  
❌