aunpric
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Render Blocking cssin there demo they added this whole script did i have to add it too
<script> /*! loadCSS. [c]2017 Filament Group, Inc. MIT License */ /* This file is meant as a standalone workflow for - testing support for link[rel=preload] - enabling async CSS loading in browsers that do not support rel=preload - applying rel preload css once loaded, whether supported or not. */ (function( w ){ "use strict"; // rel=preload support test if( !w.loadCSS ){ w.loadCSS = function(){}; } // define on the loadCSS obj var rp = loadCSS.relpreload = {}; // rel=preload feature support test // runs once and returns a function for compat purposes rp.support = (function(){ var ret; try { ret = w.document.createElement( "link" ).relList.supports( "preload" ); } catch (e) { ret = false; } return function(){ return ret; }; })(); // if preload isn't supported, get an asynchronous load by using a non-matching media attribute // then change that media back to its intended value on load rp.bindMediaToggle = function( link ){ // remember existing media attr for ultimate state, or default to 'all' var finalMedia = link.media || "all"; function enableStylesheet(){ link.media = finalMedia; } // bind load handlers to enable media if( link.addEventListener ){ link.addEventListener( "load", enableStylesheet ); } else if( link.attachEvent ){ link.attachEvent( "onload", enableStylesheet ); } // Set rel and non-applicable media type to start an async request // note: timeout allows this to happen async to let rendering continue in IE setTimeout(function(){ link.rel = "stylesheet"; link.media = "only x"; }); // also enable media after 3 seconds, // which will catch very old browsers (android 2.x, old firefox) that don't support onload on link setTimeout( enableStylesheet, 3000 ); }; // loop through link elements in DOM rp.poly = function(){ // double check this to prevent external calls from running if( rp.support() ){ return; } var links = w.document.getElementsByTagName( "link" ); for( var i = 0; i < links.length; i++ ){ var link = links[ i ]; // qualify links to those with rel=preload and as=style attrs if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){ // prevent rerunning on link link.setAttribute( "data-loadcss", true ); // bind listeners to toggle media back rp.bindMediaToggle( link ); } } }; // if unsupported, run the polyfill if( !rp.support() ){ // run once at least rp.poly(); // rerun poly on an interval until onload var run = w.setInterval( rp.poly, 500 ); if( w.addEventListener ){ w.addEventListener( "load", function(){ rp.poly(); w.clearInterval( run ); } ); } else if( w.attachEvent ){ w.attachEvent( "onload", function(){ rp.poly(); w.clearInterval( run ); } ); } } // commonjs if( typeof exports !== "undefined" ){ exports.loadCSS = loadCSS; } else { w.loadCSS = loadCSS; } }( typeof global !== "undefined" ? global : this ) ); </script>
Sorry Im beginner at these things
Forum: Plugins
In reply to: [Autoptimize] Render Blocking cssEvening
<link rel="preload" href="https://cdn.plyr.io/2.0.18/plyr.css" as="style" onload="this.rel='stylesheet'"> <noscript><link rel="stylesheet" href="https://cdn.plyr.io/2.0.18/plyr.css"></noscript> <script> /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */ (function(){ ... }()); </script>
This is right now using after you said about filamengroup load css when i put it every single page goen white nothing else am i Doing something wrong
Thanks for the reply
Forum: Plugins
In reply to: [Autoptimize] Optimize the order of styles and scriptshttps://gtmetrix.com/reports/newsa2.com/Kskfxt2v
Here is url
Forum: Plugins
In reply to: [Autoptimize] Optimize the order of styles and scriptsOhk Can You check Mine Is it good Or i have to work more
Forum: Plugins
In reply to: [Autoptimize] Optimize the order of styles and scriptsand what about this Hi Gtmetrix Give suggestion to optmize the order of style and script but i didnt get it can You take a look at gtmetrix report and Me Whats the Problem
https://gtmetrix.com/reports/newsa2.com/Kskfxt2vIm Unable to understand and solve this problem Help ME!!
Forum: Plugins
In reply to: [Autoptimize] Optimize the order of styles and scriptsand I Optimize jQuery and Now I Get error jQuery is not defined and I removed it from autoptimze but it didnt solve the Problem
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Youtube OembedIm talking about youtube embed
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Youtube OembedHere
https://newsa2.com/smallfoot-teaser-trailer-1-2018-movieclips-trailers/
And My site has alot of video and Is There any way I can hide Realated video annotations Realted video in the end of video
Forum: Plugins
In reply to: [.TUBE Video Curator] Problem With playlist with particular category importThanks No Problem I can wait
Forum: Plugins
In reply to: [.TUBE Video Curator] Problem With playlist with particular category importthe Upper code is Just a Part FYI
Forum: Plugins
In reply to: [.TUBE Video Curator] Some feature requestsYa The code is working Thanks
Not really sure how much more support I can provide here.
You talking about this Post or Plugin/forum
Forum: Plugins
In reply to: [.TUBE Video Curator] Does this mean anythingForum: Plugins
In reply to: [.TUBE Video Curator] Problem With Import In Particular CategoryYeah Working Thanks
Forum: Fixing WordPress
In reply to: Physical Memory Usage 5.23 GB / 6 GB ( 87% )capacity problem Means Your server needs More resource Means add cpu and ram i will say stop using 50 plugin try to
Forum: Fixing WordPress
In reply to: Physical Memory Usage 5.23 GB / 6 GB ( 87% )The 503 service unavailable error occurs when your web server is unable to get a proper response from a PHP script. This PHP script could be a WordPress plugin, a theme, or a misbehaving custom code snippet.
Simply You can Find error log to Know whats The problem
If it by some plugin rename plugin folder name