sgudbrandsson / google-webfont-optimizer Goto Github PK
View Code? Open in Web Editor NEWWordPress plugin that makes your website a bit faster. The plugin optimizes the way Google Web fonts are loaded on your website.
License: Other
WordPress plugin that makes your website a bit faster. The plugin optimizes the way Google Web fonts are loaded on your website.
License: Other
Hi Sigurdur,
Thanks for contributing this code.
I'm having an issue though. I'm trying to where GWO's output is rendered in my HTML.
Right now, GWO loads as the very first thing in my head. I would like to change that and compare rendering results.
How can I do that?
I've tried changing the priority, hook, etc. to move the GWO after my Above The Fold css, but when I change anything the GWO doesn't output at all.
Hello,
Your plugin causes this error on my main bog page that uses the Blog Manager for WordPress plugin....
Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Blog Manager for WordPress plugin
http://otwthemes.com/product/blog-manager-for-wordpress/
Do you have ideas why?
I have contacted OTW for help as well.
Thanks
Hi Siggy!
First of all many thanks for the great plugin! I wanted to develop it myself but yours is actually (almost) perfect to achieve the best performance.
I found a small bug that causes the removal of some stylesheets to fail. The plugin replaces &
and &
however, some stylesheets contain &
.
Line 237
in file google-webfont-optimizer.php
# Minor fix for DOMDocument "fixes"
$fontLink = str_ireplace("&", "&", $fontLink);
# line 237
$fontLink = str_ireplace("&", "(&|&)", $fontLink);
# replace by
$fontLink = str_ireplace("&", "(&|&|&)", $fontLink);
Best Regards,
Jan Jaap
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.