Thomas
Forum Replies Created
-
Forum: Plugins
In reply to: [Two Factor Auth] $_GET('warning_button_clicked')if( isset( $_GET['warning_button_clicked'] ) ) {...}Would do the same. The value doesn’t matter in this case.
Thanks!
Forum: Plugins
In reply to: [Async JS and CSS] PageSpeed Insights keeps naggingWould be great if you added this “dirty” 100/100 option to your plugin π It’s a strange way to achieve this score, but I totally understand their policy. It just saved extra unnecessary loading of scripts. Therefore it saved time and is it faster then ever!
Forum: Plugins
In reply to: [Async JS and CSS] PageSpeed Insights keeps naggingFinally achieved the 100/100 score. The only way to fix this is to have your complete css (minified) in your <head> tag.
Forum: Plugins
In reply to: [Async JS and CSS] PageSpeed Insights keeps naggingUpdated your plugin to 1.5. No luck, though… http://developers.google.com/speed/pagespeed/insights/?url=thomasvanderbeek.com
I’m really starting to think Google has to fix their own “Insights” tool…
Forum: Plugins
In reply to: [Async JS and CSS] PageSpeed Insights keeps naggingI’m only using the Google’s one: http://developers.google.com/speed/pagespeed/insights/
Tomorrow I’ll continue my quest for the 100/100 score. I’ll keep you updated on any progress π
Forum: Plugins
In reply to: [Async JS and CSS] PageSpeed Insights keeps naggingTried your tip to add more content, but it didn’t work. Did you manage to get a 100/100 score on your site? Or do you have an example “demo-page” or something?
Thanks for your advice. My main css files are – in general – always in de <head>. The reason why I’m having all my scripts before the </body> tag is to get (and understand) the Insight score to 100/100. I’m just following their tips and suggestions. Though it doesn’t seem to work.
I’m starting to think it’s impossible to bypass the Blocking CSS files notice. Googled all day long and nobody seems to have the perfect solution (that actually works).
Forum: Plugins
In reply to: [Async JS and CSS] PageSpeed Insights keeps naggingYes, the scripts are those who are placed before the </body> tag. It’s a clean WP3.6 install (no additional plugins enabled).
My <head> looks like this:
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>WordPress 3.6 - PageSpeed Test</title> <script type="text/javascript"> var asyncScripts = []; var asyncFunctions = []; var loadedScripts = []; var scriptsToLoad = 0; function execOnReady(func){ asyncFunctions.push(func); } </script> <meta name='robots' content='noindex,nofollow' /> <link rel="alternate" type="application/rss+xml" title="WordPress 3.6 - PageSpeed Test Β» Feed" href="http://mydomain.com/feed/" /> <link rel="alternate" type="application/rss+xml" title="WordPress 3.6 - PageSpeed Test Β» Comments Feed" href="http://mydomain.com/comments/feed/" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://mydomain.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://mydomain.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 3.6" /> </head> .....Before </body>:
...... <script type="text/javascript"> asyncScripts = []; function execDelayedScripts(){ if (scriptsToLoad<=0){ for (var i = 0; i < asyncFunctions.length; i++){ //~ setTimeout(asyncFunctions[i],250*i); asyncFunctions[i](); } }else{ setTimeout(execDelayedScripts,100); } } function loadAsyncScript(script){ if (typeof(script.deps) == 'object'){ for (var i = 0; i < script.deps.length; i++){ if (!include(loadedScripts,script.deps[i])){ setTimeout(function (){ loadAsyncScript(script); },100); return; } } } if (script.extra!=''){ var extra = document.createElement("script"); extra.setAttribute('type','text/javascript'); extra.innerHTML = script.extra; document.body.appendChild(extra); } var element = document.createElement("script"); element.setAttribute('type','text/javascript'); element.src = decodeURIComponent(script.src.replace(/\+/g, ' ')); element.onload = function(){ scriptsToLoad--; loadedScripts.push(script.name); }; document.body.appendChild(element); } var include = Array.prototype.indexOf ? function(arr, obj) { return arr.indexOf(obj) !== -1; } : function(arr, obj) { for(var i = -1, j = arr.length; ++i < j;) if(arr[i] === obj) return true; return false; }; if (window.addEventListener){ window.addEventListener("load", documentReady, false); }else if (window.attachEvent){ window.attachEvent("onload", documentReady); }else{ window.onload = documentReady; } scriptsToLoad = asyncScripts.length; for (var i = 0; i < asyncScripts.length; i++){ loadAsyncScript(asyncScripts[i]); } //~ function documentReady() { execDelayedScripts(); } </script> <link rel='stylesheet' href='http://mydomain.com/wp-content/themes/tvdb/css/reset.min.css' type='text/css' media='all' /> <link rel='stylesheet' href='http://mydomain.com/wp-content/themes/tvdb/css/tvdb.min.css' type='text/css' media='all' /> </body> </html>Forum: Plugins
In reply to: [W3 Total Cache] Fatal error: Call to undefined function w3tc_button_link()This worked for me: just remove the files/folders:
– File: /wp-content/advanced-cache.php
– Folder: /wp-content/cache/And try again. It will skip the missing function and install the correct files/folder for you.
Forum: Fixing WordPress
In reply to: WordPress loading files from old hosting serverIt’s possible the DNS change already works for your new webserver, but not yet in your own DNS zone. Just wait for a while and try again later.
Forum: Alpha/Beta/RC
In reply to: Preview post in Chrome (Mac OS) doesn't render Flash objectsYes, tried this also with a blank WP install. No plugins activated and theme twentyeleven activated.
When doing a refresh (CTRL + F5 or CMD+R) it shows up. How strange?