Articles of browser compatibility

WP user agent returns random variables

I am using a PHP function in order to return the user browser, using the WP global variables. It used to work perfectly, but recently it started doing random things on Safari. I use chrome and everything is fine at home. My colleague uses Safari and depending on the test, he has different results. On […]

How to detect and display a page only for IE?

I have a theme that does not work in IE so I would like to be able to detect the browser and redirect to a “sorry this doesn’t work for your browser” type or what ever solution you guys can suggest for this. Any ideas on the best way to go about this?

Cannot apply custom css to IE in the theme

For the twentythirteen, twentyfourteen or any theme made by WordPress, editing ie.css which is in themefolder\css\ie.css doesn’t result in any changes in Internet Explorer. I’m actually using IE11, but whatever I change the document mode or the user agent to, it’s still not resulting to any changes. I also noticed WordPress injects ie class to […]

Internet Explorer ignore my css

I am creating my personal blog, but Internet explorer are ** me. About 5 hours I am trying to figure out what I am doing wrong, well what is my problem ? Well, I created breadcrumb for my website, only for specific custom types – reviews. All browsers are ok with this, but internet explorer […]

What is the best way to detect IE browsers 8 and below?

I’m using some HTML5 functionality that only works on IE9 and I need to detect whether visitors are running on IE8 or below (mainly just IE8 or 7 of course). I’ve tried some plugins but the one that was working didn’t seem to support IE9 (just up to 8). It’s called PHP Browser Detection (

WordPress Iframe IE8 Javascript problem

In a very edge case scenario, I have a site that has an interactive form that uses javascript in an iframe. It works fine except on a WordPress site using Internet Explorer 8 or less, in which case the javscript does not load. This iframe also lives on Drupal and vanilla html and php pages, […]

Elements floating on top of each other when Resizing or checking site on mobile. Twenty Twelve

I’m using WP Twenty Twelve theme for my blog: Glory and Honor and have followed the Replace #site-title with resizable image in Twenty Twelve Post to fix my logo not displaying when visiting via my mobile. (This is my first isssue) I’ve been struggling with having my blog layout and site-logo display properly on my […]

WordPress ajax works on FF but not on IE & chrome

I have the following code <a href=”#” class=”loadmore centered” page-data=”1″>Show More</a><script type=”text/javascript”> jQuery(document).ready(function($) { $(“.loadmore”).on(“click”, function() { offset = $(“.loadmore”).attr(“page-data”); $(this).text(“‘.__(“Loading..”, “pe”).'”); $.post( “‘.admin_url( “admin-ajax.php” ).'”, { “action”: “load_posts”, “offset”: offset, }, function(response){ $(“#posts-container”).append(response); $(“.loadmore”).text(“‘. __(“Show More”, “pe”).'”); $(“.loadmore”).attr(“page-data”, parseInt(offset)+1); $(“html, body”).animate({scrollTop: $(“.loadmore”).position().top}, “slow”); } ); return false; }); }); </script> and the following PHP […]

404 or ugly page on IE, but Firefox, Chrome looks perfect

I have a variation of this issue. Was happening before and after new theme. I was getting 404 in IE, now sometimes get partial page that looks horrible. Contents can vary when I refresh. I have no idea why it’s giving a 404 status. Is that the way WordPress handles domain/com/blogs? I have a page […]

Fixing Access-Control-Allow-Origin (CORS origin) for multiple subdomains

Following from my previous question Is it safe to fix Access-Control-Allow-Origin (CORS origin) errors with a php header directive? The only solution that worked for me was: header(“Access-Control-Allow-Origin:”); However, I have 4 subdomains that I need to enable them to access the data on the main domain. I tried to repeat the command, like […]